Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToListValue ¶
ToListValue converts a map to a google.protobuf.List. It's similar to structpb.NewList(), but it recurses on valToPB instead of structpb.NewList to add support for more types.
func ToStruct ¶
ToStruct converts a map to a google.protobuf.Struct. It's similar to structpb.NewStruct(), but it recurses on valToPB instead of structpb.NewValue to add support for more types.
func ToStructCoerceKeys ¶
ToStructCoerceKeys converts a map with non-string keys to a google.protobuf.Struct. It attempts to coerce the keys to JSON strings.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.