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

format

package
v2.60.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2025 License: Apache-2.0 Imports: 3 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type OutputFormat

type OutputFormat string
const (
	// OutputFormat values
	Table      OutputFormat = "table"
	Json       OutputFormat = "json"
	SimpleJson OutputFormat = "simple-json"
	Sarif      OutputFormat = "sarif"
	CycloneDx  OutputFormat = "cyclonedx"
)

func GetOutputFormat

func GetOutputFormat(formatFlagVal string) (format OutputFormat, err error)

Jump to

Keyboard shortcuts

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