gofumpt

package
v1.63.4 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "gofumpt"

Variables

This section is empty.

Functions

This section is empty.

Types

type Formatter

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

func New

func New(cfg config.GofumptSettings, goVersion string) *Formatter

func (*Formatter) Format

func (f *Formatter) Format(_ string, src []byte) ([]byte, error)

func (*Formatter) Name

func (*Formatter) Name() string

Jump to

Keyboard shortcuts

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