goimportfmt Like goimports, but removes blank lines This library and command is alpha quality. It may have breaking changes in the future. Install $ go install github.com/morikuni/goimportfmt/cmd/goimportfmt Usage $ goimportfmt -w path/to/file.go