di/registry/definition.go

26 lines
390 B
Go
Raw Normal View History

2017-12-03 13:54:09 +00:00
package registry
2017-12-05 13:28:42 +00:00
import (
"reflect"
2017-12-03 13:54:09 +00:00
2017-12-05 13:28:42 +00:00
cda "git.loafle.net/commons_go/di/annotation"
)
type TypeDefinition struct {
2017-12-05 10:02:41 +00:00
PkgName string
TypeName string
Type reflect.Type
RealType reflect.Type
2017-12-05 13:28:42 +00:00
Fields map[string]*FieldDefinition
}
type FieldDefinition struct {
PkgName string
TypeName string
Type reflect.Type
RealType reflect.Type
Annotations map[string]cda.Annotation
2017-12-03 13:54:09 +00:00
}