FieldAnnotation is added
This commit is contained in:
parent
a254c5695d
commit
cb9404f542
8
types.go
8
types.go
|
@ -17,6 +17,14 @@ type TypeAnnotation interface {
|
||||||
// TypeAnnotationType is type of TypeAnnotation
|
// TypeAnnotationType is type of TypeAnnotation
|
||||||
var TypeAnnotationType = reflect.TypeOf((*TypeAnnotation)(nil)).Elem()
|
var TypeAnnotationType = reflect.TypeOf((*TypeAnnotation)(nil)).Elem()
|
||||||
|
|
||||||
|
// FieldAnnotation is interface
|
||||||
|
type FieldAnnotation interface {
|
||||||
|
Annotation
|
||||||
|
}
|
||||||
|
|
||||||
|
// FieldAnnotationType is type of FieldAnnotation
|
||||||
|
var FieldAnnotationType = reflect.TypeOf((*FieldAnnotation)(nil)).Elem()
|
||||||
|
|
||||||
// MethodAnnotation is interface
|
// MethodAnnotation is interface
|
||||||
type MethodAnnotation interface {
|
type MethodAnnotation interface {
|
||||||
Annotation
|
Annotation
|
||||||
|
|
Loading…
Reference in New Issue
Block a user