commons-go/core/annotation/service.go
crusader 796da7bbfe ing
2018-04-12 18:38:04 +09:00

18 lines
314 B
Go

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"`
}