GoLand 2019.1 Help

Dep

Create a project with Dep integration

With Dep integration, you can manage dependencies in your project.

  1. Install the dep distribution.

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

  3. Select File | New | Project.

  4. In the New Project page, select Dep.

  5. Specify project information and the location of the downloaded dep distribution. Click Create.

Create a project with Dep integration

Import dependencies

  1. Click the dependency declaration.

  2. Press Alt+Enter and select dep ensure.

Import dependencies
  1. In the New Project dialog, select Dep.

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

  3. Select Local.

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

  5. Click Open.

Download Go SDK

  1. In the New Project dialog, select Dep.

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

  3. Select Download.

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

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

Download Go SDK
Last modified: 17 May 2019