convert

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

func Marshal(in proto.Message, out interface{}) error

Marshal converts protobuf struct to map[string]interface{}.

func Unmarshal

func Unmarshal(in interface{}, out proto.Message) error

Unmarshal converts map[string]interface{} to protobuf struct.

Types

This section is empty.

Jump to

Keyboard shortcuts

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