Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support for 'goimport' #7
Can we get support for goimports in this project? Does this project support 'go fmt'? If so, dropping in goimports should be pretty easy / simple.
Just to be clear, goimports is go fmt + some changes by Brad Fitzpatrick (One of the Go Authors). What's neat about goimport is that it will write the import() after you've written your func main() program. So, you have a line in the body that is using fmt.Println() and goimport will add Import ( "fmt" ) at the top.
Ideally, whatever menu driven thing you use for gofmt could be interchanged with goimport.