package middlewares import ( "net/http" "go.uber.org/zap" ) func WithLogger(handler http.Handler, l *zap.SugaredLogger) http.Handler { return &LoggerMiddleware{ l: l, h: handler, } }