Skip to content

Commit 6d52a28

Browse files
committed
change MiddlewareType describe
1 parent 2dd7ecc commit 6d52a28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

router.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var (
2222
)
2323

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

0 commit comments

Comments
 (0)