viper-app/pkg/log/gin.go

10 lines
253 B
Go
Raw Permalink Normal View History

package log
import "go.uber.org/zap"
type GinDebugFunc = func(httpMethod, absolutePath, handlerName string, _ int)
func GinRouter(httpMethod, absolutePath, handlerName string, handlersNum int) {
zap.S().Infof("%v\t%v\t", httpMethod, absolutePath)
}