bug fixed
This commit is contained in:
parent
a3974dc218
commit
a254c5695d
6
types.go
6
types.go
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user