feat: json output formatter
This commit is contained in:
12
core/output/formatter.go
Normal file
12
core/output/formatter.go
Normal file
@ -0,0 +1,12 @@
|
||||
package output
|
||||
|
||||
import (
|
||||
"git.bissendorf.co/bissendorf/unifood/m/v2/core/interfaces"
|
||||
)
|
||||
|
||||
var Formatters = map[string]interfaces.Formatter{
|
||||
"json": &JsonFormatter{},
|
||||
"go": nil,
|
||||
"table": nil,
|
||||
"xml": nil,
|
||||
}
|
||||
Reference in New Issue
Block a user