diff --git a/registry/registry.go b/registry/registry.go index 0272d78..8a82b66 100644 --- a/registry/registry.go +++ b/registry/registry.go @@ -112,7 +112,12 @@ func (cr *defaultComponentRegistry) GetInstance(t reflect.Type) (interface{}, er } } - log.Printf("%v", td) + v := reflect.New(rt) + i := v.Interface() + + for f, fd := range td.Fields { + + } return nil, nil }