From cb7208967b058c759fbc1ac3931db248f8cac522 Mon Sep 17 00:00:00 2001 From: crusader Date: Tue, 10 Apr 2018 15:50:39 +0900 Subject: [PATCH] ing --- annotation/service.go | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 annotation/service.go diff --git a/annotation/service.go b/annotation/service.go new file mode 100644 index 0000000..f09a524 --- /dev/null +++ b/annotation/service.go @@ -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"` +}