Documentation ¶
Overview ¶
Package protoutils are a collection of util methods for using proto
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InterfaceToMap ¶
InterfaceToMap attempts to coerce an interface into a form acceptable by structpb.NewStruct. Expects a struct or a map-like object.
func StructToStructPb ¶
StructToStructPb converts an arbitrary Go struct to a *structpb.Struct. Only exported fields are included in the returned proto.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.