Skip to content

Commit

Permalink
Fix typo (#3023)
Browse files Browse the repository at this point in the history
Co-authored-by: lin.song <lin.song@rakuten.com>
  • Loading branch information
jarodsong6 and lin.song authored Jan 12, 2022
1 parent 336ce0d commit 1b28e2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ginS/gins.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func StaticFS(relativePath string, fs http.FileSystem) gin.IRoutes {
return engine().StaticFS(relativePath, fs)
}

// Use attaches a global middleware to the router. i.e. the middlewares attached though Use() will be
// Use attaches a global middleware to the router. i.e. the middlewares attached through Use() will be
// included in the handlers chain for every single request. Even 404, 405, static files...
// For example, this is the right place for a logger or error management middleware.
func Use(middlewares ...gin.HandlerFunc) gin.IRoutes {
Expand Down

0 comments on commit 1b28e2b

Please sign in to comment.