resolve typo comments
This commit is contained in:
parent
c6f6a8800d
commit
f6cb47fbbb
3 changed files with 4 additions and 4 deletions
|
@ -41,7 +41,7 @@ func RegisterServer(server Server, options ...ServerOption) http.Handler {
|
|||
|
||||
type ServerOption func(s *webServer)
|
||||
|
||||
// WithHTTPMiddler sets the passed middleware chain to the root of
|
||||
// WithHTTPMiddleware sets the passed middleware chain to the root of
|
||||
// the Server's router.
|
||||
func WithHTTPMiddleware(m ...func(http.Handler) http.Handler) ServerOption {
|
||||
return func(s *webServer) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue