reviser

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(projectName, filePath string, options ...Option) ([]byte, bool, error)

Revise imports and format the code

Types

type Option added in v0.0.8

type Option int
const (
	OptionRemoveUnusedImports Option = iota + 1
	OptionUseAliasForVersionSuffix
)

type Options added in v0.0.8

type Options []Option

Jump to

Keyboard shortcuts

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