go-common/app/interface/main/account/service/usersuit/service_test.go

20 lines
256 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package usersuit
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)
}