MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / FieldMask

Function FieldMask

pkg/ttnpb/fieldmask_utils.go:26–28  ·  view source on GitHub ↗

FieldMask returns a FieldMask with the given paths.

(paths ...string)

Source from the content-addressed store, hash-verified

24
25// FieldMask returns a FieldMask with the given paths.
26func 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.
31func TopLevelFields(paths []string) []string {

Calls

no outgoing calls