commons-go/core/annotation/service.go

18 lines
314 B
Go
Raw Permalink Normal View History

2018-04-10 06:50:39 +00:00
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"`
}