probe/annotation/service.go
crusader b099b2756e ing
2018-08-23 18:21:48 +09:00

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