Documentation
¶
Index ¶
- func Marshal(pb proto.Message) ([]byte, error)
- func MarshalMap(from proto.Message) (map[string]interface{}, error)
- func MarshalStruct(m interface{}) (*types.Struct, error)
- func Unmarshal(data []byte, into proto.Message) error
- func UnmarshalMap(m map[string]interface{}, into proto.Message) error
- func UnmarshalStruct(structuredData *types.Struct, into interface{}) error
- func UnmarshalValue(value *types.Value, into interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalStruct ¶
this function is designed for converting go object (that is not a proto.Message) into a pb Struct, based on json struct tags
func UnmarshalStruct ¶
func UnmarshalValue ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.