di/registry/definition.go
crusader 4a4e7cdfdd ing
2017-12-05 22:28:42 +09:00

26 lines
390 B
Go

package registry
import (
"reflect"
cda "git.loafle.net/commons_go/di/annotation"
)
type TypeDefinition struct {
PkgName string
TypeName string
Type reflect.Type
RealType reflect.Type
Fields map[string]*FieldDefinition
}
type FieldDefinition struct {
PkgName string
TypeName string
Type reflect.Type
RealType reflect.Type
Annotations map[string]cda.Annotation
}