From 5de5aa30e34fc0090e1d009778ea56783d419180 Mon Sep 17 00:00:00 2001 From: crusader Date: Wed, 6 Dec 2017 19:28:15 +0900 Subject: [PATCH] ing --- registry/registry.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 }