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 b84068c commit e5a286eCopy full SHA for e5a286e
value/reflectcache.go
@@ -70,7 +70,7 @@ func (f *FieldCacheEntry) CanOmit(fieldVal reflect.Value) bool {
70
return f.isOmitEmpty && (safeIsNil(fieldVal) || isZero(fieldVal))
71
}
72
73
-// GetUsing returns the field identified by this FieldCacheEntry from the provided struct.
+// GetFrom returns the field identified by this FieldCacheEntry from the provided struct.
74
func (f *FieldCacheEntry) GetFrom(structVal reflect.Value) reflect.Value {
75
// field might be nested within 'inline' structs
76
for _, elem := range f.fieldPath {
0 commit comments