type google.golang.org/protobuf/encoding/prototext.MarshalOptions
10 uses
google.golang.org/protobuf/encoding/prototext (current package)
encode.go#L34: return MarshalOptions{Multiline: true}.Format(m)
encode.go#L41: return MarshalOptions{}.Marshal(m)
encode.go#L45: type MarshalOptions struct {
encode.go#L90: func (o MarshalOptions) Format(m proto.Message) string {
encode.go#L104: func (o MarshalOptions) Marshal(m proto.Message) ([]byte, error) {
encode.go#L111: func (o MarshalOptions) marshal(m proto.Message) ([]byte, error) {
encode.go#L149: opts MarshalOptions
google.golang.org/protobuf/internal/impl
api_export.go#L176: return prototext.MarshalOptions{Multiline: false}.Format(m)
github.com/golang/protobuf/proto
buffer.go#L135: b, _ = prototext.MarshalOptions{AllowPartial: true, Indent: "\t"}.Marshal(m.Interface())
text_encode.go#L59: opts := prototext.MarshalOptions{
![]() |
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. |