bug fixed

This commit is contained in:
병준 박 2019-11-13 23:19:09 +09:00
parent a3974dc218
commit a254c5695d

View File

@ -7,7 +7,7 @@ type Annotation interface {
}
// AnnotationType is type of Annotation
var AnnotationType = reflect.TypeOf((*Annotation)(nil))
var AnnotationType = reflect.TypeOf((*Annotation)(nil)).Elem()
// TypeAnnotation is interface
type TypeAnnotation interface {
@ -15,7 +15,7 @@ type TypeAnnotation interface {
}
// TypeAnnotationType is type of TypeAnnotation
var TypeAnnotationType = reflect.TypeOf((*TypeAnnotation)(nil))
var TypeAnnotationType = reflect.TypeOf((*TypeAnnotation)(nil)).Elem()
// MethodAnnotation is interface
type MethodAnnotation interface {
@ -23,4 +23,4 @@ type MethodAnnotation interface {
}
// MethodAnnotationType is type of MethodAnnotation
var MethodAnnotationType = reflect.TypeOf((*MethodAnnotation)(nil))
var MethodAnnotationType = reflect.TypeOf((*MethodAnnotation)(nil)).Elem()