12345678910111213141516171819 |
- package usersuit
- import (
- "flag"
- "go-common/app/interface/main/account/conf"
- )
- var d *Dao
- func init() {
- flag.Parse()
- flag.Set("conf", "../../cmd/account-interface-example.toml")
- if err := conf.Init(); err != nil {
- panic(err)
- }
- d = New(conf.Conf)
- }
|