IDE setup for Go development

When I sent my first PRs for LXD I spent a lot of time setting up Go, repository layout and scripts to compile and test the stuff. This machine is gone, and right now I don’t have time to setup it again. So, are there any good tools that can quickly setup everything to send tested PR for LXD? What do you use?