package
0.0.0-20190118033331-2a53b66835d6
Repository: https://github.com/arcplus/go-lib.git
Documentation: pkg.go.dev
# Functions
Marshal marshals a protocol buffer into JSON.
MarshalAny takes the protocol buffer and encodes it into google.protobuf.Any.
MustMarshal convert proto to JSON without error.
ToMap convert proto message to map[string]interface{}.
Unmarshal unmarshals a JSON object stream into a protocol buffer.
UnmarshalAny a must be *any.Any OR []*any.Any p must be proto.Message or []proto.Message.
# Type aliases
alias.