Fix linter issues (docs) (#370)

This commit is contained in:
Matt Silverlock
2018-04-30 20:11:36 -07:00
committed by GitHub
parent b57cb1605f
commit ded0c29b24
3 changed files with 9 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ type middleware interface {
Middleware(handler http.Handler) http.Handler
}
// MiddlewareFunc also implements the middleware interface.
// Middleware also implements the middleware interface.
func (mw MiddlewareFunc) Middleware(handler http.Handler) http.Handler {
return mw(handler)
}