Skip to content

Commit

Permalink
Fix case of GitHub (#1726)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton authored and thinkerou committed Dec 31, 2018
1 parent 85b92cd commit d8fb18c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions routergroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ type RouterGroup struct {

var _ IRouter = &RouterGroup{}

// Use adds middleware to the group, see example code in github.
// Use adds middleware to the group, see example code in GitHub.
func (group *RouterGroup) Use(middleware ...HandlerFunc) IRoutes {
group.Handlers = append(group.Handlers, middleware...)
return group.returnObj()
Expand Down Expand Up @@ -78,7 +78,7 @@ func (group *RouterGroup) handle(httpMethod, relativePath string, handlers Handl

// Handle registers a new request handle and middleware with the given path and method.
// The last handler should be the real handler, the other ones should be middleware that can and should be shared among different routes.
// See the example code in github.
// See the example code in GitHub.
//
// For GET, POST, PUT, PATCH and DELETE requests the respective shortcut
// functions can be used.
Expand Down

0 comments on commit d8fb18c

Please sign in to comment.