GoLand
 
Get GoLand

Create a new project

Last modified: 12 November 2024

By default, GoLand suggests creating a Go modules project. With Go modules, you do not need to keep your project files under GOPATH and can easily manage dependencies in your project. Read more about Go modules at go.dev.

If you plan to work on a project that does not require complex dependency management, consider creating the Go (GOPATH) project (File | New | Project). Note that 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.