From 5c919e6bffbf5dbe057623323effdbed2e82189e Mon Sep 17 00:00:00 2001 From: Wim Date: Thu, 7 Dec 2017 23:00:56 +0100 Subject: Update vendor labstack/echo --- vendor/github.com/labstack/echo/util_go18.go | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 vendor/github.com/labstack/echo/util_go18.go (limited to 'vendor/github.com/labstack/echo/util_go18.go') diff --git a/vendor/github.com/labstack/echo/util_go18.go b/vendor/github.com/labstack/echo/util_go18.go new file mode 100644 index 00000000..8a37785b --- /dev/null +++ b/vendor/github.com/labstack/echo/util_go18.go @@ -0,0 +1,10 @@ +// +build go1.8 + +package echo + +import "net/url" + +// PathUnescape is wraps `url.PathUnescape` +func PathUnescape(s string) (string, error) { + return url.PathUnescape(s) +} -- cgit v1.2.3