Browse Source

Fix some typos

Wonder how long those have been there.
Carl Jackson 12 years ago
parent
commit
4baae23a99
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      default.go

+ 3
- 3
default.go View File

@ -18,19 +18,19 @@ func init() {
}
// Append the given middleware to the default Mux's middleware stack. See the
// documentation for web.Mux.Use for more informatino.
// documentation for web.Mux.Use for more information.
func Use(middleware interface{}) {
DefaultMux.Use(middleware)
}
// Insert the given middleware into the default Mux's middleware stack. See the
// documentation for web.Mux.Insert for more informatino.
// documentation for web.Mux.Insert for more information.
func Insert(middleware, before interface{}) error {
return DefaultMux.Insert(middleware, before)
}
// Remove the given middleware from the default Mux's middleware stack. See the
// documentation for web.Mux.Abandon for more informatino.
// documentation for web.Mux.Abandon for more information.
func Abandon(middleware interface{}) error {
return DefaultMux.Abandon(middleware)
}


Loading…
Cancel
Save