FieldMask returns a FieldMask with the given paths.
(paths ...string)
| 24 | |
| 25 | // FieldMask returns a FieldMask with the given paths. |
| 26 | func FieldMask(paths ...string) *fieldmaskpb.FieldMask { |
| 27 | return &fieldmaskpb.FieldMask{Paths: paths} |
| 28 | } |
| 29 | |
| 30 | // TopLevelFields returns the unique top level fields of the given paths. |
| 31 | func TopLevelFields(paths []string) []string { |
no outgoing calls