-
Notifications
You must be signed in to change notification settings - Fork 120
/
zz_generated.ioc.go
40 lines (34 loc) · 1019 Bytes
/
zz_generated.ioc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//go:build !ignore_autogenerated
// +build !ignore_autogenerated
// Code generated by iocli, run 'iocli gen' to re-generate
package call
import (
"github.com/alibaba/ioc-golang/autowire"
singleton "github.com/alibaba/ioc-golang/autowire/singleton"
util "github.com/alibaba/ioc-golang/autowire/util"
)
func init() {
callServiceImplStructDescriptor := &autowire.StructDescriptor{
Factory: func() interface{} {
return &callServiceImpl{}
},
Metadata: map[string]interface{}{
"aop": map[string]interface{}{},
"autowire": map[string]interface{}{},
},
DisableProxy: true,
}
singleton.RegisterStructDescriptor(callServiceImplStructDescriptor)
}
var _callServiceImplSDID string
func GetcallServiceImplSingleton() (*callServiceImpl, error) {
if _callServiceImplSDID == "" {
_callServiceImplSDID = util.GetSDIDByStructPtr(new(callServiceImpl))
}
i, err := singleton.GetImpl(_callServiceImplSDID, nil)
if err != nil {
return nil, err
}
impl := i.(*callServiceImpl)
return impl, nil
}