Help us shape the future of Go! Take the 2026 Go Developer Survey

wfmt

package
v0.82.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Proto bool `usage:"format .proto files"`
	Dart  bool `usage:"format .dart files"`
	Tf    bool `usage:"format .tf files"`
	Hcl   bool `usage:"format .hcl files"`
}

func (*Handler) CobraCommand added in v0.43.0

func (me *Handler) CobraCommand() *cobra.Command

func (*Handler) RegisterRunFunc added in v0.43.0

func (me *Handler) RegisterRunFunc() snake.RunFunc

func (*Handler) Run

func (me *Handler) Run(ctx context.Context, fls afero.Fs, fle afero.File, ecfg format.ConfigurationProvider, out snake.Stdout) error

Jump to

Keyboard shortcuts

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