feat: json output formatter
This commit is contained in:
7
core/interfaces/output.go
Normal file
7
core/interfaces/output.go
Normal file
@ -0,0 +1,7 @@
|
||||
package interfaces
|
||||
|
||||
import "io"
|
||||
|
||||
type Formatter interface {
|
||||
Format(object any) (io.Reader, error)
|
||||
}
|
||||
Reference in New Issue
Block a user