1
0
mirror of https://github.com/labstack/echo.git synced 2024-11-28 08:38:39 +02:00
echo/util_go17.go
jro 6c54ff78a2 fix build constraint go1.8 (#993)
* fix build constraint go1.8

go1.8 wasn't properly excluded

* Update util_go17.go
2017-08-22 08:26:26 -07:00

13 lines
184 B
Go

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