package annotation // @Inject(name? string) import ( "reflect" oa "git.loafle.net/overflow/annotation-go" ) func init() { oa.Register(InjectAnnotationType) } var InjectAnnotationType = reflect.TypeOf((*InjectAnnotation)(nil)) type InjectAnnotation struct { oa.Annotation `@name:"@Inject"` Name string `json:"name" @default:""` Required bool `json:"required" @default:"true"` }