Documentation ¶ Index ¶ func MapToStruct(in map[string]interface{}) *structpb.Struct Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func MapToStruct ¶ func MapToStruct(in map[string]interface{}) *structpb.Struct MapToStruct converts a map of string to interface{} (e.g. a JSON object) to a ProtoBuf 'Struct' type, ready to be consumed by things like gRPC services. Types ¶ This section is empty. Source Files ¶ View all Source files protobuf.go Click to show internal directories. Click to hide internal directories.