Commit 197cd255 by zhengqiuyun86

初始化

parent 307b8f3c
...@@ -8,11 +8,11 @@ type Config struct { ...@@ -8,11 +8,11 @@ type Config struct {
LogResponseLength int LogResponseLength int
LogShowSql bool LogShowSql bool
RedisConf RedisConf Redis RedisConf
EsConf EsConf Elasticsearch EsConf
MysqlConf MysqlConf Mysql MysqlConf
} }
func BaseConfig(conf Config) { func BaseConfig(conf Config) {
...@@ -24,11 +24,11 @@ func BaseConfig(conf Config) { ...@@ -24,11 +24,11 @@ func BaseConfig(conf Config) {
LogResponseLength = conf.LogResponseLength LogResponseLength = conf.LogResponseLength
LogShowSql = conf.LogShowSql LogShowSql = conf.LogShowSql
Es = conf.EsConf Es = conf.Elasticsearch
Redis = conf.RedisConf Redis = conf.Redis
MySql = conf.MysqlConf MySql = conf.Mysql
} }
//Base conf //Base conf
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment