修改配置方式,支持配置命令、环境变量、配置文件

This commit is contained in:
bjdgyc
2021-04-07 18:31:46 +08:00
parent 7fae5423b7
commit 157001be18
12 changed files with 693 additions and 200 deletions

View File

@@ -1,11 +1,11 @@
package base
func Start() {
initFlag()
initServerCfg()
execute()
initCfg()
initLog()
}
func Test() {
func Test() {
initLog()
}
}