From 3525f1d3c2e7e457ef40b5781d5c50c8bfb8d2af Mon Sep 17 00:00:00 2001 From: crusader Date: Wed, 11 Apr 2018 17:44:31 +0900 Subject: [PATCH] ing --- annotation/rpc-service.go | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 annotation/rpc-service.go diff --git a/annotation/rpc-service.go b/annotation/rpc-service.go new file mode 100644 index 0000000..4d3985e --- /dev/null +++ b/annotation/rpc-service.go @@ -0,0 +1,17 @@ +package annotation + +import ( + "reflect" + + cda "git.loafle.net/commons/di-go/annotation" +) + +var RPCServiceAnnotationType = reflect.TypeOf((*RPCServiceAnnotation)(nil)) + +func init() { + cda.RegisterAnnotation(RPCServiceAnnotationType) +} + +type RPCServiceAnnotation struct { + cda.TypeAnnotation `@annotation:"@overflow:RPCService"` +}