You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wuzz/formatter/text.go

22 lines
303 B
Go

package formatter
import (
"io"
)
type textFormatter struct {
}
func (f *textFormatter) Format(writer io.Writer, data []byte) error {
_, err := writer.Write(data)
return err
}
func (f *textFormatter) Title() string {
return "[text]"
}
func (f *textFormatter) Searchable() bool {
return true
}