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 d8c62e5 commit 205e0faCopy full SHA for 205e0fa
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