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