Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "dev" Commit = "none" Date = "unknown" )
Build metadata, injected via -ldflags by the Makefile/goreleaser.
Functions ¶
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App holds shared state threaded through every command.
type Renderer ¶
type Renderer struct {
Format Format
Fields []string // optional column subset/order
NoHeader bool
Template string // Go text/template applied per record
// contains filtered or unexported fields
}
Renderer turns slices of records into one of the supported output formats.
func NewRenderer ¶
NewRenderer builds a Renderer writing to w.
Click to show internal directories.
Click to hide internal directories.