gci

package
v0.2.9-0...-1e8cfed Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2021 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessFile

func ProcessFile(filename string, out io.Writer, set *FlagSet) error

func ProcessImports

func ProcessImports(src []byte, localFlag string) []byte

func Run

func Run(filename string, set *FlagSet) ([]byte, []byte, error)

Run return source and result in []byte if succeed

func WalkDir

func WalkDir(path string, set *FlagSet) error

Types

type FlagSet

type FlagSet struct {
	LocalFlag       string
	DoWrite, DoDiff *bool
}

Jump to

Keyboard shortcuts

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