Hacker News new | ask | show | jobs
by sergiotapia 3792 days ago
Install the go-plus package and it'll `go fmt` on save everytime, saving you this headache. Works seamlessly.
1 comments

Thanks for the tip -- yea, I have go-plus installed. It is helpful, but still isn't ideal to have to save the file in the middle of trying to initialize a slice.