Tweak example indent
This commit is contained in:
2
doc.go
2
doc.go
@@ -89,7 +89,7 @@ There are several other matchers that can be added. To match path prefixes:
|
|||||||
|
|
||||||
r.MatcherFunc(func(r *http.Request, rm *RouteMatch) bool {
|
r.MatcherFunc(func(r *http.Request, rm *RouteMatch) bool {
|
||||||
return r.ProtoMajor == 0
|
return r.ProtoMajor == 0
|
||||||
})
|
})
|
||||||
|
|
||||||
...and finally, it is possible to combine several matchers in a single route:
|
...and finally, it is possible to combine several matchers in a single route:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user