1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-02 08:51:42 +02:00
echo/util_go18.go
Vishal Rana dc0f2d7327 Fixed url.PathUnescape for go1.7
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-06-07 08:57:31 -07:00

11 lines
169 B
Go

// +build go1.8
package echo
import "net/url"
// PathUnescape is wraps `url.PathUnescape`
func PathUnescape(s string) (string, error) {
return url.PathUnescape(s)
}