go-common/app/admin/main/relation/service/service_test.go

19 lines
200 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package service
import (
"flag"
"go-common/app/admin/main/relation/conf"
)
var s *Service
func init() {
flag.Parse()
if err := conf.Init(); err != nil {
panic(err)
}
s = New(conf.Conf)
}