From c0f85106313b6e8cb564f91c8a57d87c79efbc1e Mon Sep 17 00:00:00 2001 From: Prisacari Dmitrii Date: Fri, 15 Nov 2019 01:29:29 +0200 Subject: [PATCH] docs: removed mention about ServiceMiddleware (#936) --- examples/addsvc/pkg/addservice/middleware.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/addsvc/pkg/addservice/middleware.go b/examples/addsvc/pkg/addservice/middleware.go index 5a1d6ee5b..87436136c 100644 --- a/examples/addsvc/pkg/addservice/middleware.go +++ b/examples/addsvc/pkg/addservice/middleware.go @@ -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}