protobuf: google.golang.org/protobuf/internal/msgfmt Index | Files

package msgfmt

import "google.golang.org/protobuf/internal/msgfmt"

Package msgfmt implements a text marshaler combining the desirable features of both the JSON and proto text formats. It is optimized for human readability and has no associated deserializer.

Index

Package Files

format.go

func Format Uses

func Format(m proto.Message) string

Format returns a formatted string for the message.

Package msgfmt imports 15 packages (graph) and is imported by 2 packages. Updated 2020-07-14. Refresh now. Tools for package owners.