di-go/annotation/type.go

16 lines
281 B
Go
Raw Permalink Normal View History

2018-04-03 09:02:31 +00:00
package annotation
2018-04-05 08:49:15 +00:00
import "reflect"
var TypeAnnotationType = reflect.TypeOf((*TypeAnnotation)(nil)).Elem()
2018-04-03 09:02:31 +00:00
type TypeAnnotation interface {
Annotation
}
2018-04-06 17:22:32 +00:00
var MethodAnnotationType = reflect.TypeOf((*MethodAnnotation)(nil)).Elem()
type MethodAnnotation interface {
Annotation
}