To set up your environment for developing on Go 1.12+:
Download and install the latest release of Go 1.12+.
See Go 1.12+ Runtime Environment for a list of the supported versions.
Download, install, and then initialize the Cloud SDK. If you already have the Cloud SDK installed, run the
gcloud components updatecommand to update to the latest release.
The Cloud SDK provides you the
gcloudcommand-line tooling 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.
Run the following command in your terminal to install the gcloud component that includes the App Engine extension for Go 1.12+:
gcloud components install app-engine-go