We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7909ad commit 66220a8Copy full SHA for 66220a8
config.go
@@ -103,7 +103,7 @@ func (l *Loader) parseStruct(ref reflect.Value) *StructConfig {
103
}
104
s.Fields = append(s.Fields, l.parseStruct(value).Fields...)
105
continue
106
- case reflect.Ptr:
+ case reflect.Pointer:
107
if typ.Elem().Kind() == reflect.Struct && !value.IsNil() {
108
s.Fields = append(s.Fields, l.parseStruct(value.Elem()).Fields...)
109
0 commit comments