Browse Source

Add "of" like the rest of the function docstrings

Christopher Pfohl 12 years ago
parent
commit
04a79835ae
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      route.go

+ 1
- 1
route.go View File

@ -328,7 +328,7 @@ func (m schemeMatcher) Match(r *http.Request, match *RouteMatch) bool {
}
// Schemes adds a matcher for URL schemes.
// It accepts a sequence schemes to be matched, e.g.: "http", "https".
// It accepts a sequence of schemes to be matched, e.g.: "http", "https".
func (r *Route) Schemes(schemes ...string) *Route {
for k, v := range schemes {
schemes[k] = strings.ToLower(v)


Loading…
Cancel
Save