18 lines
280 B
Go
18 lines
280 B
Go
package annotation
|
|
|
|
import (
|
|
"reflect"
|
|
|
|
oa "git.loafle.net/overflow/annotation-go"
|
|
)
|
|
|
|
func init() {
|
|
oa.Register(ServiceAnnotationType)
|
|
}
|
|
|
|
var ServiceAnnotationType = reflect.TypeOf((*ServiceAnnotation)(nil))
|
|
|
|
type ServiceAnnotation struct {
|
|
oa.Annotation `@name:"@Service"`
|
|
}
|