go-common/app/interface/main/account/service/member/service_test.go
2019-04-22 18:49:16 +08:00

20 lines
254 B
Go

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)
}