Documentation ¶ Index ¶ func IsTTY(w io.Writer) bool func Render(w io.Writer, format Format, value any) error func WriteError(w io.Writer, format Format, err error) error type Format func ResolveFormat(raw string, stdout io.Writer) (Format, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func IsTTY ¶ func IsTTY(w io.Writer) bool func Render ¶ func Render(w io.Writer, format Format, value any) error func WriteError ¶ func WriteError(w io.Writer, format Format, err error) error Types ¶ type Format ¶ type Format string const ( FormatJSON Format = "json" FormatTable Format = "table" FormatPlain Format = "plain" ) func ResolveFormat ¶ func ResolveFormat(raw string, stdout io.Writer) (Format, error) Source Files ¶ View all Source files out.go Click to show internal directories. Click to hide internal directories.