package order

Import Path
	google.golang.org/protobuf/internal/order (on go.dev)

Dependency Relation
	imports 3 packages, and imported by 3 packages

Involved Source Files order.go Package order provides ordered access to messages and maps.
Package-Level Type Names (total 8, in which 6 are exported)
/* sort exporteds by: | */
EntryRanger is an interface for visiting all fields in a message. The protoreflect.Map type implements this interface. ( T) Range(VisitEntry) google.golang.org/protobuf/reflect/protoreflect.Map (interface) func RangeEntries(es EntryRanger, less KeyOrder, fn VisitEntry)
FieldOrder specifies the ordering to visit message fields. It is a function that reports whether x is ordered before y. func RangeFields(fs FieldRanger, less FieldOrder, fn VisitField) var AnyFieldOrder var IndexNameFieldOrder var LegacyFieldOrder var NumberFieldOrder
FieldRnger is an interface for visiting all fields in a message. The protoreflect.Message type implements this interface. ( T) Range(VisitField) google.golang.org/protobuf/reflect/protoreflect.Message (interface) func RangeFields(fs FieldRanger, less FieldOrder, fn VisitField)
KeyOrder specifies the ordering to visit map entries. It is a function that reports whether x is ordered before y. func RangeEntries(es EntryRanger, less KeyOrder, fn VisitEntry) var AnyKeyOrder var GenericKeyOrder
VisitEntry is called everytime a map entry is visited.
VisitField is called everytime a message field is visited.
Package-Level Functions (total 2, both are exported)
RangeEntries iterates over the entries of es according to the specified order.
RangeFields iterates over the fields of fs according to the specified order.
Package-Level Variables (total 8, in which 6 are exported)
AnyFieldOrder specifies no specific field ordering.
AnyKeyOrder specifies no specific key ordering.
GenericKeyOrder sorts false before true, numeric keys in ascending order, and strings in lexicographical ordering according to UTF-8 codepoints.
IndexNameFieldOrder sorts non-extension fields before extension fields. Non-extensions are sorted according to their declaration index. Extensions are sorted according to their full name.
LegacyFieldOrder sorts fields in the same ordering as emitted by wire serialization in the github.com/golang/protobuf implementation.
NumberFieldOrder sorts fields by their field number.