package fieldsort
Import Path
google.golang.org/protobuf/internal/fieldsort (on go.dev)
Dependency Relation
imports one package, and imported by 2 packages
Involved Source Files
Package fieldsort defines an ordering of fields.
The ordering defined by this package matches the historic behavior of the proto
package, placing extensions first and oneofs last.
There is no guarantee about stability of the wire encoding, and users should not
depend on the order defined in this package as it is subject to change without
notice.
Package-Level Functions (only one, which is exported)
Less returns true if field a comes before field j in ordered wire marshal output.
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |