Skip to content

Commit

Permalink
docs: removed mention about ServiceMiddleware (#936)
Browse files Browse the repository at this point in the history
  • Loading branch information
icamys authored and peterbourgon committed Nov 14, 2019
1 parent 9f5354e commit c0f8510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/addsvc/pkg/addservice/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
type Middleware func(Service) Service

// LoggingMiddleware takes a logger as a dependency
// and returns a ServiceMiddleware.
// and returns a service Middleware.
func LoggingMiddleware(logger log.Logger) Middleware {
return func(next Service) Service {
return loggingMiddleware{logger, next}
Expand Down

0 comments on commit c0f8510

Please sign in to comment.