Back to

Package msgfmt

Latest Go to latest

The latest major version is .

Published: Jun 22, 2020 | License: BSD-3-Clause | Module:


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.


func Format

func Format(m proto.Message) string

Format returns a formatted string for the message.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier