README ¶ Protobuf https://github.com/golang/protobuf/issues/1370 https://github.com/protocolbuffers/protobuf-go/blob/master/testing/protopack/pack.go https://stackoverflow.com/questions/26744873/converting-map-to-struct https://stackoverflow.com/questions/41348512/protobuf-unmarshal-unknown Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type Fields func Struct(val interface{}) (Fields, error) func (f Fields) Bytes() ([]byte, error) type Records func Bytes(buf []byte) Records func (r Records) Struct(val interface{}) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Fields ¶ added in v1.6.3 type Fields map[string]interface{} func Struct ¶ added in v1.8.9 func Struct(val interface{}) (Fields, error) func (Fields) Bytes ¶ added in v1.8.9 func (f Fields) Bytes() ([]byte, error) type Records ¶ added in v1.8.8 type Records map[protowire.Number]interface{} func Bytes ¶ added in v1.8.9 func Bytes(buf []byte) Records func (Records) Struct ¶ added in v1.8.9 func (r Records) Struct(val interface{}) error Source Files ¶ View all Source files field.gorecord.go Click to show internal directories. Click to hide internal directories.