ptimports

package
v1.41.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const TypeName = "ptimports"

Variables

This section is empty.

Functions

This section is empty.

Types

type Formatter

type Formatter struct {
	SkipRefactor           bool
	SkipSimplify           bool
	SeparateProjectImports bool
}

func (*Formatter) Format

func (f *Formatter) Format(files []string, list bool, projectDir string, stdout io.Writer) error

func (*Formatter) TypeName

func (f *Formatter) TypeName() (string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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