Versions in this module Expand all Collapse all v0 v0.1.0 Apr 15, 2024 Changes in this version + type FieldMask struct + func FromProto[T proto.Message](fieldMask *fieldmaskpb.FieldMask, options ...Option) (*FieldMask[T], error) + func New[T proto.Message](paths []string, options ...Option) (*FieldMask[T], error) + func Parse[T proto.Message](paths string, options ...Option) (*FieldMask[T], error) + func (fm *FieldMask[T]) Append(path string) error + func (fm *FieldMask[T]) Clone(msg T) T + func (fm *FieldMask[T]) Mask(msg T) + func (fm *FieldMask[T]) Paths() []string + func (fm *FieldMask[T]) Proto() *fieldmaskpb.FieldMask + func (fm *FieldMask[T]) String() string + func (fm *FieldMask[T]) Update(dst, src T) error + type FieldName int + const JSONFieldName + const TextFieldName + type MaskUnknowns int + const MaskRemovesUnknowns + const MaskRetainsUnknowns + type Option interface + func WithExtensions(allow bool) Option + func WithFieldName(mode FieldName, strict bool) Option + func WithMaskUnknowns(mode MaskUnknowns) Option + func WithMessageDescriptor(desc protoreflect.MessageDescriptor) Option + func WithUpdateRepeated(mode UpdateRepeated) Option + func WithUpdateUnknowns(mode UpdateUnknowns) Option + type UpdateRepeated int + const UpdateAppendsRepeated + const UpdateReplacesRepeated + type UpdateUnknowns int + const UpdateAppendsUnknowns + const UpdateReplacesUnknowns + const UpdateRetainsUnknowns