githaven-fork/vendor/github.com/go-openapi/runtime/middleware/pre_go18.go

10 lines
139 B
Go
Raw Normal View History

// +build !go1.8
package middleware
import "net/url"
func pathUnescape(path string) (string, error) {
return url.QueryUnescape(path)
}