FieldAnnotation is added

This commit is contained in:
병준 박 2019-12-02 21:41:47 +09:00
parent a254c5695d
commit cb9404f542

View File

@ -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