- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ExtractFieldPathAsString (0.16 sec)
-
pkg/fieldpath/fieldpath.go
dst = append(dst, key...) dst = append(dst, '=') dst = strconv.AppendQuote(dst, m[key]) } return string(dst) } // ExtractFieldPathAsString extracts the field from the given object // and returns it as a string. The object must be a pointer to an // API type. func ExtractFieldPathAsString(obj interface{}, fieldPath string) (string, error) { accessor, err := meta.Accessor(obj) if err != nil { return "", err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 02 06:26:55 UTC 2023 - 3.7K bytes - Viewed (0)