1 parent 48d9a9a commit d8e268cCopy full SHA for d8e268c
1 file changed
jsonname/name_provider.go
@@ -40,7 +40,6 @@ func NewNameProvider() *NameProvider {
40
41
func buildnameIndex(tpe reflect.Type, idx, reverseIdx map[string]string) {
42
for targetDes := range tpe.Fields() {
43
- targetDes := targetDes
44
45
if targetDes.PkgPath != "" { // unexported
46
continue
0 commit comments