The Go functionality in IntelliJ IDEA is supported by the Go plugin. The Go plugin provides support of all the features that are available in GoLand, the standalone IDE for Go developers. With the Go plugin, you can work with Go tools, vendoring, Go modules, download new Go SDK versions right from the IDE, and use other Go-specific features.
First steps with Go in IntelliJ IDEA
These set of topics are focused on describing features, functionality, the application interface, and might help you to get started quickly.
Create a Go project
Learn how to create a Go project, download and install Go SDK.
Configure GOROOT and GOPATH environment variables for your project.
Start with your Go modules project in a couple of clicks.
Though IntelliJ IDEA does most of the Go tools functionality automatically, you can still run gofmt, goimports, go generate, and go vet manually.
See what features IntelliJ IDEA has for
Define rules under which files are included in the package and build your application only with dependency packages that are stored inside your project.
Label your goroutines with custom data to differentiate between during debugging.