fieldaggregate

package
v1.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FieldAggregate

type FieldAggregate struct {
	fieldmask.FieldMask
}

FieldAggregate wraps a FieldMask to provide aggregation-specific functionality. This avoids code duplication by reusing the existing FieldMask implementation.

func New

New constructs a FieldAggregate based on validated and normalized field mask.

func (FieldAggregate) Get

func (f FieldAggregate) Get(name string) FieldAggregate

Get returns the sub-aggregate for a given field name (for testing purposes).

func (FieldAggregate) Len

func (f FieldAggregate) Len() int

Len returns the number of top-level fields in the aggregate.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL