[docs] Improve docstrings for middleware, skipclean (#375)

This commit is contained in:
Matt Silverlock
2018-05-12 20:22:33 -07:00
committed by GitHub
parent fdeb7bc314
commit e3702bed27
3 changed files with 4 additions and 4 deletions

View File

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