From b002533c8917601c8b908e10007280a42953c88a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=85=89=E6=98=A5?= Date: Tue, 30 Aug 2022 15:48:47 +0800 Subject: [PATCH] - update log --- client.go | 2 ++ const.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/client.go b/client.go index 6ec5821..e7dfee6 100644 --- a/client.go +++ b/client.go @@ -16,12 +16,14 @@ type gormClientFun func() *dorm.GormClient // databaseName string type mongoClientFun func() (*dorm.MongoClient, string) +// ClientConfig 实例配置 type ClientConfig struct { GormClientFun gormClientFun // 日志配置 MongoClientFun mongoClientFun // 日志配置 Debug bool // 日志开关 } +// Client 实例 type Client struct { requestClient *gorequest.App // 请求服务 config struct { diff --git a/const.go b/const.go index 9f384a2..6f2bf0e 100644 --- a/const.go +++ b/const.go @@ -4,4 +4,4 @@ const ( logTable = "weishi" ) -const Version = "1.0.6" +const Version = "1.0.7"