gin/middleware/access_log.go

25 lines
417 B
Go
Raw Normal View History

// Package middleware ...
//
// Description : middleware ...
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 2022-07-14 10:53
package middleware
import (
"github.com/gin-gonic/gin"
"go.uber.org/zap"
)
// Access 记录请求日志
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 10:55 2022/7/14
func Access(logger *zap.Logger) gin.HandlerFunc {
return func(ctx *gin.Context) {
}
}