Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Format ¶
type Format string
Format represents an output format.
func ParseFormat ¶
ParseFormat parses a format string, defaulting to table.
type NotTabularError ¶ added in v0.6.1
type NotTabularError struct {
Got any
}
NotTabularError is returned by Print when table format is requested but the data does not implement Tabular. Use errors.As to inspect the type.
func (NotTabularError) Error ¶ added in v0.6.1
func (e NotTabularError) Error() string
Click to show internal directories.
Click to hide internal directories.