Versions in this module Expand all Collapse all v1 v1.2.3 Sep 29, 2022 v1.2.2 Sep 28, 2022 Changes in this version + var ErrInvalidFormatType = fmt.Errorf("invalid format type") + func EncodeJSON(out io.Writer, obj interface{}) error + func EncodeTable(out io.Writer, table *uitable.Table) error + func EncodeYAML(out io.Writer, obj interface{}) error + func Formats() []string + func FormatsWithDesc() map[string]string + type Format string + const JSON + const Table + const YAML + func ParseFormat(s string) (out Format, err error) + func (o Format) String() string + func (o Format) Write(out io.Writer, w Writer) error + type Writer interface + WriteJSON func(out io.Writer) error + WriteTable func(out io.Writer) error + WriteYAML func(out io.Writer) error