I'm having trouble referencing the AppEngine SDK.
After installing Google Cloud SDK, I'm using:
gcloud components install app-engine-go
to install the most recent version of the AppEngine SDK for Go, and afterwards I'm seeing 2 directories:
/usr/local/google-cloud-sdk
/Users/kieran/google-cloud-sdk
The first contains the AppEngine SDK files, the second does not.
In the PATH I'm seeing:
# The next line updates PATH for the Google Cloud SDK.
if [ -f ‘/Users/kieran/google-cloud-sdk/path.bash.inc' ]; then source '/Users/kieran/google-cloud-sdk/path.bash.inc'; fi
# The next line enables shell command completion for gcloud.
if [ -f '/Users/kieran/google-cloud-sdk/completion.bash.inc' ]; then source '/Users/kieran/google-cloud-sdk/completion.bash.inc'; fi
Why is the gcloud installer adding a reference in the PATH to the google-cloud-sdk that does not contain the AppEngine SDK ?
I have read many different articles on here but they all mention a manually downloaded AppEngine SDK, and according to other articles even using "google.golang.org/appengine" is not good enough as it's not always the latest version.
How do I reference the AppEngine SDK that was downloaded by the glcoud installer? With 2 different SDK paths I'm totally confused about which one to use, and even how to reference it in code. I would assume that "appengine" would be sufficient, but that isn't working.