GoLand 2019.2 Help

Creating a Go project

Create a Go project

  1. Install the Go SDK. In GoLand, you can navigate to your local SDK copy or download the Go SDK from the Internet.

  2. Select File | New | Project.

  3. In the New Project page, select Go.

  4. In the Location field, specify where you want to store your project.

  5. In the GOROOT field, specify the location of your Go installation. Usually, the location is defined automatically.

  6. Click Create.

Create a project with Go integration

Select a local copy of the Go SDK

Ensure that the provided path to the folder with Go SDK includes bin и src folders.

  1. In the New Project dialog, select Go.

  2. Click the Add SDK icon the Add SDK icon near the GOROOT field and select Local.

  3. In the file browser, navigate to the SDK version that is on your hard drive.

  4. Click Open.

Navigate to a local copy of Go SDK

Download the Go SDK

  1. In the New Project dialog, select Go.

  2. Click the Add SDK icon (the Add SDK icon) near the GOROOT field and select Download.

  3. From the Version list, select the SDK version.

  4. In the Target directory field, specify the path for the SDK. To use a file browser, click the Browse icon the Browse icon.

  5. Click OK.

Download the Go SDK
Last modified: 29 October 2019