GoLand 2019.1 Help

App Engine

Create a project with App Engine integration

With App Engine integration, you can run and debug Google App Engine applications. A new project already includes app.yaml with default configuration settings, and the GO file with the Hello World application. Customize the basic handler in the GO file or write your own.

  1. For Google App Engine applications, download and install Google Cloud SDK for App Engine (Download the Cloud SDK).

  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 App Engine.

  5. Ensure that the project uses a correct file path and click OK.

Create a project with App Engine integration

Run a App Engine application

As you created an App Engine project, you can start debugging. The App Engine project has a predefined Run/debug configuration and the default address (http://localhost:8080).

  1. Click the Run icon (Shift+F10)

  2. In the App Engine tab, click the admin server address.

  3. In the browser, click the instance name (for example, default).

Debug a App Engine application

  1. Set a breakpoint in the application.

  2. Click the Debug icon (Shift+F9)

  3. In the App Engine tab, click the server address.

  4. In the browser, click the instance name (for example, default).

  5. In the Debugger tab, see a list of frames that you can inspect. You can click the frame to see the current state of variables.

  1. In the New Project dialog, select App Engine.

  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 App Engine.

  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