annotation-go/annotations/annotations.go
2019-11-13 22:49:55 +09:00

27 lines
587 B
Go

package annotations
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))