Go 1.16 is now generally available.

Setting Up Your Development Environment

To set up your environment for developing on Go 1.12+:

  1. Install the latest release of Go 1.12+.

    See Go 1.12+ Runtime Environment for a list of the supported versions.

  2. Install and initialize the Cloud SDK. If you already have the Cloud SDK installed and initialized, run the gcloud components update command to update to the latest release.

    The Cloud SDK provides you the gcloud command-line tool for deploying and managing your apps.

    By downloading, you agree to be bound by the Terms that govern use of the Cloud SDK for App Engine.

    Install and initialize the Cloud SDK

  3. Install the gcloud component that includes the App Engine extension for Go 1.12+.

    If you used the apt or yum package managers to install the Cloud SDK, use those same package managers to install the gcloud component.

    Otherwise, use the following command:

     gcloud components install app-engine-go

Installing optional tools

  • For access to code, samples, libraries, and tools in GitHub, install Git:

    Install Git