mirror of
https://github.com/iLoveElysia/openbilibili.git
synced 2026-09-04 08:38:03 -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)
|
|
}
|