ing
This commit is contained in:
parent
bdab9ab2a7
commit
cb7208967b
17
annotation/service.go
Normal file
17
annotation/service.go
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
package annotation
|
||||||
|
|
||||||
|
import (
|
||||||
|
"reflect"
|
||||||
|
|
||||||
|
cda "git.loafle.net/commons/di-go/annotation"
|
||||||
|
)
|
||||||
|
|
||||||
|
var ServiceAnnotationType = reflect.TypeOf((*ServiceAnnotation)(nil))
|
||||||
|
|
||||||
|
func init() {
|
||||||
|
cda.RegisterAnnotation(ServiceAnnotationType)
|
||||||
|
}
|
||||||
|
|
||||||
|
type ServiceAnnotation struct {
|
||||||
|
cda.TypeAnnotation `@annotation:"@overflow:Service"`
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user