fieldsort

package
v0.0.0-...-d88c8b5 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Less

Less returns true if field a comes before field j in ordered wire marshal output.

Types

This section is empty.

Jump to

Keyboard shortcuts

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