Versions in this module Expand all Collapse all v0 v0.1.9 May 21, 2020 v0.0.2 May 22, 2020 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 + 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