Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FieldNames ¶
type FieldNames struct {
// contains filtered or unexported fields
}
FieldNames abstractly represents a list of fields with a comparable type which can be used as a map key. It is used primarily to lookup indexes.
func CommaSeparatedFieldNames ¶
func CommaSeparatedFieldNames(fields string) FieldNames
CommaSeparatedFieldNames creates a FieldNames instance from a list of comma-separated fields.
func FieldsFromNames ¶
func FieldsFromNames(fnames []protoreflect.Name) FieldNames
FieldsFromNames creates a FieldNames instance from an array of field names.
func (FieldNames) Names ¶
func (f FieldNames) Names() []protoreflect.Name
Names returns the array of names this FieldNames instance represents.
func (FieldNames) String ¶
func (f FieldNames) String() string
Click to show internal directories.
Click to hide internal directories.