Commit 9cd1d6b0 by 孙龙

init

parent 0738d4f3
Showing with 1 additions and 1 deletions
......@@ -43,7 +43,7 @@ type ApiDomain struct {
var Configs *Config =new (Config)
func Init(ConfigDir string){
fmt.Println(ConfigDir+"config/config.toml")
//fmt.Println(ConfigDir+"config/config.toml")
var err error
_, err = toml.DecodeFile(ConfigDir+"config.toml",Configs)
_, err = toml.DecodeFile(ConfigDir+"db.toml",Configs)
......
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 sign in to comment