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