master v1.0.53
李光春 2 years ago
parent 0cbf7efddc
commit 0e6ae9bd78

@ -14,7 +14,7 @@ import (
type ApiClient struct {
gormClient *dorm.GormClient // 数据库驱动
mongoClient *dorm.MongoClient // 数据库驱动
zapLog ZapLog // 日志服务
zapLog *ZapLog // 日志服务
gormConfig struct {
tableName string // 表名
insideIp string // 内网ip
@ -50,7 +50,7 @@ type ApiClientConfig struct {
GormClientFun apiGormClientFun // 日志配置
MongoClientFun apiMongoClientFun // 日志配置
Debug bool // 日志开关
ZapLog ZapLog // 日志服务
ZapLog *ZapLog // 日志服务
}
// NewApiClient 创建接口实例化

@ -20,7 +20,7 @@ import (
type ApiGormClientConfig struct {
GormClientFun apiGormClientFun // 日志配置
Debug bool // 日志开关
ZapLog ZapLog // 日志服务
ZapLog *ZapLog // 日志服务
}
// NewApiGormClient 创建接口实例化

@ -21,7 +21,7 @@ import (
type ApiMongoClientConfig struct {
MongoClientFun apiMongoClientFun // 日志配置
Debug bool // 日志开关
ZapLog ZapLog // 日志服务
ZapLog *ZapLog // 日志服务
}
// NewApiMongoClient 创建接口实例化

@ -1,5 +1,5 @@
package golog
const (
Version = "1.0.52"
Version = "1.0.53"
)

@ -23,7 +23,7 @@ type GinClient struct {
gormClient *dorm.GormClient // 数据库驱动
mongoClient *dorm.MongoClient // 数据库驱动
ipService *goip.Client // ip服务
zapLog ZapLog // 日志服务
zapLog *ZapLog // 日志服务
gormConfig struct {
tableName string // 表名
insideIp string // 内网ip
@ -60,7 +60,7 @@ type GinClientConfig struct {
GormClientFun ginGormClientFun // 日志配置
MongoClientFun apiMongoClientFun // 日志配置
Debug bool // 日志开关
ZapLog ZapLog // 日志服务
ZapLog *ZapLog // 日志服务
}
// NewGinClient 创建框架实例化

@ -27,7 +27,7 @@ type GinGormClientConfig struct {
IpService *goip.Client // ip服务
GormClientFun ginGormClientFun // 日志配置
Debug bool // 日志开关
ZapLog ZapLog // 日志服务
ZapLog *ZapLog // 日志服务
}
// NewGinGormClient 创建框架实例化

@ -29,7 +29,7 @@ type GinMongoClientConfig struct {
IpService *goip.Client // ip服务
MongoClientFun ginMongoClientFun // 日志配置
Debug bool // 日志开关
ZapLog ZapLog // 日志服务
ZapLog *ZapLog // 日志服务
}
// NewGinMongoClient 创建框架实例化

@ -40,7 +40,7 @@ require (
github.com/jackc/pgproto3/v2 v2.3.1 // indirect
github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b // indirect
github.com/jackc/pgtype v1.12.0 // indirect
github.com/jackc/pgx/v4 v4.17.1 // indirect
github.com/jackc/pgx/v4 v4.17.2 // indirect
github.com/jinzhu/inflection v1.0.0 // indirect
github.com/jinzhu/now v1.1.5 // indirect
github.com/json-iterator/go v1.1.12 // indirect

@ -255,8 +255,8 @@ github.com/jackc/pgx/v4 v4.12.0/go.mod h1:fE547h6VulLPA3kySjfnSG/e2D861g/50JlVUa
github.com/jackc/pgx/v4 v4.12.1-0.20210724153913-640aa07df17c/go.mod h1:1QD0+tgSXP7iUjYm9C1NxKhny7lq6ee99u/z+IHFcgs=
github.com/jackc/pgx/v4 v4.15.0/go.mod h1:D/zyOyXiaM1TmVWnOM18p0xdDtdakRBa0RsVGI3U3bw=
github.com/jackc/pgx/v4 v4.16.1/go.mod h1:SIhx0D5hoADaiXZVyv+3gSm3LCIIINTVO0PficsvWGQ=
github.com/jackc/pgx/v4 v4.17.1 h1:tASdE79tX9LOQu3MMvioWT6YaZkf58ZhmLHhV4sv5WM=
github.com/jackc/pgx/v4 v4.17.1/go.mod h1:lcxIZN44yMIrWI78a5CpucdD14hX0SBDbNRvjDBItsw=
github.com/jackc/pgx/v4 v4.17.2 h1:0Ut0rpeKwvIVbMQ1KbMBU4h6wxehBI535LK6Flheh8E=
github.com/jackc/pgx/v4 v4.17.2/go.mod h1:lcxIZN44yMIrWI78a5CpucdD14hX0SBDbNRvjDBItsw=
github.com/jackc/puddle v0.0.0-20190413234325-e4ced69a3a2b/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk=
github.com/jackc/puddle v0.0.0-20190608224051-11cab39313c9/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk=
github.com/jackc/puddle v1.1.0/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk=

Loading…
Cancel
Save