Creating a Go project
Create a Go project
Install the Go SDK. In GoLand, you can navigate to your local SDK copy or download the Go SDK from the Internet.
Select
.In the New Project page, select Go.
In the Location field, specify where you want to store your project.
In the GOROOT field, specify the location of your Go installation. Usually, the location is defined automatically.
Click Create.
Select a local copy of the Go SDK
Ensure that the provided path to the folder with Go SDK includes bin и src folders.
In the New Project dialog, select Go.
Click the Add SDK icon near the GOROOT field and select Local.
In the file browser, navigate to the SDK version that is on your hard drive.
Click Open.
Download the Go SDK
In the New Project dialog, select Go.
Click the Add SDK icon () near the GOROOT field and select Download.
From the Version list, select the SDK version.
In the Target directory field, specify the path for the SDK. To use a file browser, click the Browse icon .
Click OK.