annotation-go/definition.go

18 lines
326 B
Go
Raw Normal View History

2018-08-22 09:36:13 +00:00
package annotation
import "reflect"
type Definition struct {
t reflect.Type
rt reflect.Type
}
2018-08-23 06:13:22 +00:00
type TypeDefinition struct {
t reflect.Type
rt reflect.Type
typeAnnotation map[reflect.Type]Annotation
fieldAnnotation map[string]map[reflect.Type]Annotation
methodAnnotation map[string]map[reflect.Type]Annotation
}