10 lines
253 B
Go
10 lines
253 B
Go
|
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)
|
||
|
}
|