Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Formatter ¶
type Formatter struct {
// contains filtered or unexported fields
}
func New ¶
func New(ds datasource.DataSource, options ...Option) (*Formatter, error)
type Option ¶
type Option func(*Formatter)
func WithFields ¶
WithFields specifies exactly which fields to export using this formatter; field names can be prefixed with +/- to add or remove the field from the output - if all fields are prefixed, the default visible fields will be honored, otherwise only the fields specified will be considered. If fields is nil, the default will be used - if fields is empty, no field will be returned.
func WithPretty ¶ added in v0.28.0
func WithShowAll ¶
Click to show internal directories.
Click to hide internal directories.