Documentation
¶
Overview ¶
Package maskutils is a collection of utilities for getting, setting, validating and doing other stuff to protos like fleetcostpb.CostIndicator given a fieldmask. A fieldmask can be either a fieldmask proto or a list of strings.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateCostIndicatorProto ¶
func UpdateCostIndicatorProto(dst *fleetcostpb.CostIndicator, src *fleetcostpb.CostIndicator, fieldmask []string)
UpdateCostIndicatorProto updates the cost indicator proto.
The fieldmask argument is probably an expression of the form request.GetFieldMask().GetPaths().
Between the source and destinations the names must match OR one or both must be empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.