proto

package
v0.0.0-...-0593956 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToKeyMaps

func ToKeyMaps(pm proto.Message, key string, opts ...protojson.MarshalOptions) ([]map[string]interface{}, error)

ToKeyMaps extracts a nested slice of map[string]interface{} from a protobuf message.

func ToMap

func ToMap(pm proto.Message, opts ...protojson.MarshalOptions) (map[string]interface{}, error)

ToMap converts a protobuf message into a map[string]interface{}.

func ToMaps

func ToMaps(pms []proto.Message, opts ...protojson.MarshalOptions) ([]map[string]interface{}, error)

ToMaps converts a slice of protobuf messages into a slice of map[string]interface{}.

Types

This section is empty.

Jump to

Keyboard shortcuts

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