mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-03 22:45:13 +08:00
优化初始化方式
This commit is contained in:
@@ -102,6 +102,7 @@ func Start() {
|
||||
|
||||
func Setup(s ...service.IService) {
|
||||
for _,sv := range s {
|
||||
sv.OnSetup(sv)
|
||||
preSetupService = append(preSetupService,sv)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user