Clarify more of SkipClean

This commit is contained in:
Jingwen Owen Ou
2016-05-02 10:24:09 -07:00
parent 786d36e5ab
commit a41434aac3

2
mux.go
View File

@@ -138,7 +138,7 @@ func (r *Router) StrictSlash(value bool) *Router {
} }
// SkipClean defines the path cleaning behaviour for new routes. The initial // SkipClean defines the path cleaning behaviour for new routes. The initial
// value is false. // value is false. Users should be careful about which routes are not cleaned
// //
// When true, if the route path is "/path//to", it will remain with the double // When true, if the route path is "/path//to", it will remain with the double
// slash. This is helpful if you have a route like: /fetch/http://xkcd.com/534/ // slash. This is helpful if you have a route like: /fetch/http://xkcd.com/534/