18 lines
329 B
Go
18 lines
329 B
Go
|
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"`
|
||
|
}
|