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

output

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package output renders an asm.Result in the formats the CLI supports: txt (human report), json (full fidelity), and csv/xml (flat, tabular).

Index

Constants

This section is empty.

Variables

View Source
var Formats = []string{"txt", "json", "csv", "xml"}

Formats lists the valid output formats (the CLI's --output values).

Functions

func Render

func Render(w io.Writer, r *asm.Result, format string) error

Render writes r to w in the given format.

func Valid

func Valid(format string) bool

Valid reports whether format is a supported output format.

Types

This section is empty.

Jump to

Keyboard shortcuts

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