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