- update log

master v1.0.7
李光春 2 years ago
parent 88151dab75
commit b002533c89

@ -16,12 +16,14 @@ type gormClientFun func() *dorm.GormClient
// databaseName string // databaseName string
type mongoClientFun func() (*dorm.MongoClient, string) type mongoClientFun func() (*dorm.MongoClient, string)
// ClientConfig 实例配置
type ClientConfig struct { type ClientConfig struct {
GormClientFun gormClientFun // 日志配置 GormClientFun gormClientFun // 日志配置
MongoClientFun mongoClientFun // 日志配置 MongoClientFun mongoClientFun // 日志配置
Debug bool // 日志开关 Debug bool // 日志开关
} }
// Client 实例
type Client struct { type Client struct {
requestClient *gorequest.App // 请求服务 requestClient *gorequest.App // 请求服务
config struct { config struct {

@ -4,4 +4,4 @@ const (
logTable = "weishi" logTable = "weishi"
) )
const Version = "1.0.6" const Version = "1.0.7"

Loading…
Cancel
Save