William Petit
e66938f1d3
All checks were successful
Cadoles/bouncer/pipeline/head This commit looks good
20 lines
293 B
Go
20 lines
293 B
Go
package format
|
|
|
|
import "io"
|
|
|
|
type OutputMode string
|
|
|
|
const (
|
|
OutputModeWide OutputMode = "wide"
|
|
OutputModeCompact OutputMode = "compact"
|
|
)
|
|
|
|
type Hints struct {
|
|
Props []Prop
|
|
OutputMode OutputMode
|
|
}
|
|
|
|
type Writer interface {
|
|
Write(writer io.Writer, hints Hints, data ...any) error
|
|
}
|