mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-21 12:14:45 +08:00
优化模块与服务间关系
This commit is contained in:
@@ -99,6 +99,8 @@ func (ws *CTest) OnRun() error {
|
||||
pTmpModule := ws.GetModuleByType(1)
|
||||
pTmpModuleTest := pTmpModule.(*CTestModule)
|
||||
pTmpModuleTest.DoSomething()
|
||||
pservice := testModule.GetOwnerService()
|
||||
fmt.Printf("%T", pservice)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user