formatter

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithOutputFile

func WithOutputFile(outputFile string) func(*Formatter)

func WithRenderer

func WithRenderer(r renderer.Renderer) func(*Formatter)

Types

type Formatter

type Formatter struct {
	// contains filtered or unexported fields
}

func NewFormatter

func NewFormatter(options ...func(*Formatter)) (*Formatter, error)

func (*Formatter) Format

func (f *Formatter) Format(inputData []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL