Documentation
¶
Overview ¶
Package output renders API response data to Out. Human-facing commentary is internal/ui's job, not this package's.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Result ¶
type Result struct {
Empty bool
}
Lets a caller that knows the resource name say something useful about an empty list; the renderer has no idea what "customers" are.
type Writer ¶
func (Writer) RenderResult ¶
Empty is only reported for table output: json and yaml are machine formats where an empty list is valid output the caller must not print prose over.
Click to show internal directories.
Click to hide internal directories.