init from gitlab

This commit is contained in:
texm
2023-04-25 14:33:14 +08:00
parent 6a85a41ff0
commit c8202a5c82
281 changed files with 19861 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
package middleware
import (
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
)
func middlewareLogger(ware string) zerolog.Logger {
return log.With().Str("middleware", ware).Logger()
}