google.golang.org/protobuf/encoding/prototext.MarshalOptions.Marshal (method)
5 uses
google.golang.org/protobuf/encoding/prototext (current package)
encode.go#L41: return MarshalOptions{}.Marshal(m)
encode.go#L97: b, _ := o.Marshal(m)
encode.go#L104: func (o MarshalOptions) Marshal(m proto.Message) ([]byte, error) {
github.com/golang/protobuf/proto
buffer.go#L135: b, _ = prototext.MarshalOptions{AllowPartial: true, Indent: "\t"}.Marshal(m.Interface())
text_encode.go#L69: return opts.Marshal(mr.Interface())
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |