IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

Create a new project

Last modified: 08 April 2021

If you plan to work on a project that does not require complex dependency management, consider creating the Go project (File | New | Project ). Otherwise, create the Go modules project or enable Go modules in your current project.

Without Go modules, you need to store your source code under the GOPATH directory (a Go workspace). Also, you cannot install multiple versions of the same dependency package since the go get command downloads the dependency package to the same directory.