Skip to content

Commit

Permalink
change MiddlewareType describe
Browse files Browse the repository at this point in the history
  • Loading branch information
xujiajun committed Mar 19, 2018
1 parent 2dd7ecc commit 6d52a28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion router.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var (
)

type (
// MiddlewareType is a private type that is used for middleware
// MiddlewareType is a public type that is used for middleware
MiddlewareType func(next http.HandlerFunc) http.HandlerFunc
// Router is a simple HTTP route multiplexer that parses a request path,
// records any URL params, and executes an end handler.
Expand Down

0 comments on commit 6d52a28

Please sign in to comment.