Files
unifood/core/output/go.go
2025-07-20 15:19:47 +02:00

14 lines
202 B
Go

package output
import (
"fmt"
"io"
"strings"
)
type GoFormatter struct{}
func (f *GoFormatter) Format(object any) (io.Reader, error) {
return strings.NewReader(fmt.Sprintf("%#v", object)), nil
}