commons-go/core/annotation/rest-service.go

18 lines
334 B
Go
Raw Permalink Normal View History

2018-04-10 09:27:12 +00:00
package annotation
import (
"reflect"
cda "git.loafle.net/commons/di-go/annotation"
)
var RESTServiceAnnotationType = reflect.TypeOf((*RESTServiceAnnotation)(nil))
func init() {
cda.RegisterAnnotation(RESTServiceAnnotationType)
}
type RESTServiceAnnotation struct {
cda.TypeAnnotation `@annotation:"@overflow:RESTService"`
}