20 lines
256 B
Go
20 lines
256 B
Go
|
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)
|
||
|
}
|