Documentation ¶
Overview ¶
Package protobuf provides helpers for working with golang/protobuf types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsMessages ¶ added in v1.4.0
AsMessages casts the given slice of values (that implement the proto.Message interface) to a slice of proto.Message. If the length of the slice is 0, it returns nil.
func MustMarshalAny ¶ added in v1.5.0
MustMarshalAny marshals a protobug into an any.Any type, panicing if that operation fails.
func UInt32 ¶
func UInt32(val uint32) *wrappers.UInt32Value
UInt32 converts a uint32 to a pointer to a wrappers.UInt32Value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.