Versions in this module Expand all Collapse all v0 v0.0.9 Apr 6, 2026 Changes in this version + func ResolveMode(mode string, isTTY bool) string + type Formatter struct + Mode string + W io.Writer + func NewFormatter(mode string, w io.Writer) *Formatter + func (f *Formatter) Error(err error) + func (f *Formatter) Result(m map[string]any) + func (f *Formatter) Table(headers []string, rows [][]string) + func (f *Formatter) Value(key string, val any) + func (f *Formatter) WriteJSON(v any)