mirror of
https://github.com/iLoveElysia/openbilibili.git
synced 2026-06-13 08:28:30 -05:00
20 lines
202 B
Go
20 lines
202 B
Go
package service
|
|
|
|
import (
|
|
"flag"
|
|
|
|
"go-common/app/service/main/account/conf"
|
|
)
|
|
|
|
var s *Service
|
|
|
|
func init() {
|
|
flag.Parse()
|
|
|
|
if err := conf.Init(); err != nil {
|
|
panic(err)
|
|
}
|
|
|
|
s = New(conf.Conf)
|
|
}
|