Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Mar 23, 2020
1 parent bbf44c4 commit 843d3bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion router.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func (r *Router) Group(path string, opts ...RouteGroupOption) IRouter {
return newRouteGroup(r, path, opts...)
}

// Use attaches a global middleware.
// Use attaches global middlewares.
func (r *Router) Use(middlewares ...MiddlewareFunc) {
r.middlewares = append(r.middlewares, middlewares...)
}
Expand Down

0 comments on commit 843d3bf

Please sign in to comment.