init.go 197 B

12345678910
  1. package global
  2. import "fmt"
  3. func GlobalInit() {
  4. fmt.Println("Init function from package global")
  5. cfg := LoadConfig("./dba.toml")
  6. fmt.Println("cfg :", cfg)
  7. InitLogs(cfg.Logs.AppLog, "info")
  8. }