✨ Add null formatter
This commit is contained in:
parent
79fa957d02
commit
632c7143f1
5 changed files with 83 additions and 2 deletions
|
|
@ -11,6 +11,7 @@ type formatMaker func(config.Formatters) (Formatter, error)
|
|||
var formatterMap = map[string]formatMaker{
|
||||
"plain": newPlain,
|
||||
"json": newJson,
|
||||
"zero": newNull,
|
||||
}
|
||||
|
||||
func Preferred() (f Formatter, err error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue