package
0.0.0-20240902112328-9a1bad927a77
Repository: https://github.com/anerg2046/go-app-lib.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MicrosecondsStr 将 time.Duration 类型(nano seconds 为单位) 输出为小数点后 3 位的 ms (microsecond 毫秒,千分之一秒).
NewGormLogger 外部调用。实例化一个 GormLogger 对象,示例:
DB, err := gorm.Open(dbConfig, &gorm.Config{ Logger: logger.NewGormLogger(), }).
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
GormLogger 操作对象,实现 gormlogger.Interface.