package middleware import ( "context" "git.diulo.com/mogfee/kit/log" ) func Logger(logger log.Logger) Middleware { //helper:=log.NewHelper(logger) return func(handler Handler) Handler { return func(ctx context.Context, a any) (any, error) { return handler(ctx, a) } } }