annotation-go/types.go

27 lines
586 B
Go
Raw Normal View History

2019-11-13 13:53:42 +00:00
package annotation
2019-11-12 14:58:17 +00:00
import "reflect"
// Annotation is interface
type Annotation interface {
}
// AnnotationType is type of Annotation
var AnnotationType = reflect.TypeOf((*Annotation)(nil))
// TypeAnnotation is interface
type TypeAnnotation interface {
Annotation
}
// TypeAnnotationType is type of TypeAnnotation
var TypeAnnotationType = reflect.TypeOf((*TypeAnnotation)(nil))
// MethodAnnotation is interface
type MethodAnnotation interface {
Annotation
}
// MethodAnnotationType is type of MethodAnnotation
var MethodAnnotationType = reflect.TypeOf((*MethodAnnotation)(nil))