feat: get handlers return object slices
This commit is contained in:
@ -8,6 +8,6 @@ import (
|
||||
|
||||
type GoFormatter struct{}
|
||||
|
||||
func (f *GoFormatter) Format(object any) (io.Reader, error) {
|
||||
return strings.NewReader(fmt.Sprintf("%#v", object)), nil
|
||||
func (f *GoFormatter) Format(objects []any) (io.Reader, error) {
|
||||
return strings.NewReader(fmt.Sprintf("%#v", objects)), nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user