ing
This commit is contained in:
parent
1ab0bb37bf
commit
9508895ed0
12
types.go
12
types.go
|
@ -9,9 +9,15 @@ import (
|
|||
)
|
||||
|
||||
func init() {
|
||||
annotation.Register(ComponentAnnotationType)
|
||||
annotation.Register(InjectAnnotationType)
|
||||
annotation.Register(ResourceAnnotationType)
|
||||
if err := annotation.Register(ComponentAnnotationType); nil != err {
|
||||
panic(err)
|
||||
}
|
||||
if err := annotation.Register(InjectAnnotationType); nil != err {
|
||||
panic(err)
|
||||
}
|
||||
if err := annotation.Register(ResourceAnnotationType); nil != err {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
|
||||
var ComponentAnnotationType = reflect.TypeOf((*ComponentAnnotation)(nil))
|
||||
|
|
Loading…
Reference in New Issue
Block a user