Add null formatter

This commit is contained in:
Dan Jones 2024-03-11 21:18:52 -05:00
commit 632c7143f1
5 changed files with 83 additions and 2 deletions

View file

@ -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) {