Help us shape the future of Go! Take the 2026 Go Developer Survey

formats

package
v1.21.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Pretty       option = "pretty"
	JSON         option = "json"
	GoBench      option = "gobench"
	Values       option = "values"
	Bindings     option = "bindings"
	Source       option = "source"
	Raw          option = "raw"
	Discard      option = "discard"
	SortNone     option = "none"
	SortDuration option = "duration"
)

Variables

This section is empty.

Functions

func Flag

func Flag(formats ...option) *util.EnumFlag

Returns an enum flag for the given formats, where the first provided format will be used as the default format.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL