Go On Cloud 101
By pjain Published July 29, 2019, 12:43 a.m. in blog Programming
Resources
Choosing an App Engine environment | App Engine Documentation | Google Cloud Concepts | App Engine flexible environment for Go | Google Cloud Google Cloud SDK documentation | Cloud SDK | Google Cloud
Go on Google App Engine
Google's App Engine is a managed platform for web applications. If you aren't interested in installing App Engine you can skip this step.
Python is required for App Engine.
Download the "Google App Engine SDK for Go" from: cloud.google.com/appengine/downloads.
Open Terminal and unzip the downloaded zip file to your home directory:
cd ~ unzip ~/Downloads/go_appengine_sdk*.zip
This should create a go_appengine folder in your home directory. The App Engine SDK is self-contained and requires no installation. If you want to remove it just delete the folder.
also add to path $HOME/go_appengine
Using Go from Cloud, eg GAE - great for microservices
-
Download and install - one of following
-
unzip to say folder ~/Develop/go_appengine cd ~/Develop unzip ~/Downloads/go_appengine_sdk*.zip
- Environmental variables: So you need to set GOPATH variable in your ~/.bash_profile to eg export PATH=" /Users/xyz/Develop/go_appengine:$PATH"
https://cloud.google.com/sdk/docs/ * Note: there are Python, Java, Node.js and PHP versions also.
- The App Engine SDK is self-contained and requires no further installation
- If you want to remove it just delete the folder.