Skip to content

maraino/goofimports

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goofimports

Based on https://github.com/eugeii/goimports, this is another fork of goimports (golang.org/x/tools/cmd/goimports) that allows to skip the walk through all directories included in $(GOPATH)/.goignore.

It basically makes goimports fast again.

Install.

go get -u github.com/maraino/goofimports

Generate

A script generate.sh is included which can generate an optimal .goignore file (all directories that do not contain .go files in their subdirectories). To use it to generate your .goignore file:

sh "$GOPATH/src/github.com/maraino/goofimports/generate.sh" | tee "$GOPATH/.goignore"

About

goimports with .goignore

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published