File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ func StaticFS(relativePath string, fs http.FileSystem) gin.IRoutes {
118118 return engine ().StaticFS (relativePath , fs )
119119}
120120
121- // Use attachs a global middleware to the router. ie. the middlewares attached though Use() will be
121+ // Use attaches a global middleware to the router. ie. the middlewares attached though Use() will be
122122// included in the handlers chain for every single request. Even 404, 405, static files...
123123// For example, this is the right place for a logger or error management middleware.
124124func Use (middlewares ... gin.HandlerFunc ) gin.IRoutes {
@@ -153,7 +153,7 @@ func RunUnix(file string) (err error) {
153153
154154// RunFd attaches the router to a http.Server and starts listening and serving HTTP requests
155155// through the specified file descriptor.
156- // Note: thie method will block the calling goroutine indefinitely unless on error happens.
156+ // Note: the method will block the calling goroutine indefinitely unless on error happens.
157157func RunFd (fd int ) (err error ) {
158158 return engine ().RunFd (fd )
159159}
You can’t perform that action at this time.
0 commit comments