If you are looking to deploy to App Engine Standard it is recommended to follow its documentation <https://cloud.google.com/appengine/docs/standard/go/datastore/#connecting_to_datastore_name_short_with_app_engine>. Currently the App Engine Standard Go environment is not recommended to use the new Google Cloud Client Libraries <https://cloud.google.com/apis/docs/cloud-client-libraries> which allows access to Google Services from any client such as a Google Compute Engine VM.
As also reiterated in the documentation for the Cloud Datastore API <https://cloud.google.com/datastore/docs/reference/libraries#google_app_engine_standard_environment_client_libraries>, the App Engine Standard Go environment is currently limited to the use of the older App Engine SDK <https://godoc.org/google.golang.org/appengine> as opposed to the new Google Cloud Client Library for Go. <https://godoc.org/cloud.google.com/go> - Note that you could indeed try to use the new Google Cloud Client Library for Go on the App Engine Standard Go environment, but as it is not fully supported yet you may run into issues. It is recommended to report all issues and feature requests specific to the Google Cloud Client Library for Go directly to the engineering team in their Git Issue Tracker <https://github.com/GoogleCloudPlatform/google-cloud-go/issues?utf8=%E2%9C%93&q=> . -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/ae9231dc-99a3-40d6-872b-4109b06e366f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.