Is app-engine-go still a thing?

57 views
Skip to first unread message

Tom Mitchell

unread,
Jan 10, 2021, 7:38:25 AM1/10/21
to Google App Engine
I hope this is a good place to ask this question. I am trying to deploy a Golang service I wrote for App Engine. I am running Cloud SDK 322.0.

I can't seem to install app-engine-sdk because it does not look like it is even a thing any more. I would like to understand this. Here is what I am seeing:

➜  ~ gcloud components list

Your current Cloud SDK version is: 322.0.0
The latest available version is: 322.0.0

┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐
│                                              Components                                              │
├───────────────┬────────────────────────────────────────────────┬──────────────────────────┬──────────┤
│     Status    │                      Name                      │            ID            │   Size   │
├───────────────┼────────────────────────────────────────────────┼──────────────────────────┼──────────┤
│ Not Installed │ Cloud Datalab Command Line Tool                │ datalab                  │  < 1 MiB │
│ Not Installed │ Cloud Datastore Emulator                       │ cloud-datastore-emulator │ 18.4 MiB │
│ Not Installed │ Cloud Firestore Emulator                       │ cloud-firestore-emulator │ 41.5 MiB │
│ Not Installed │ Cloud Pub/Sub Emulator                         │ pubsub-emulator          │ 56.4 MiB │
│ Not Installed │ gcloud Alpha Commands                          │ alpha                    │  < 1 MiB │
│ Not Installed │ gcloud Beta Commands                           │ beta                     │  < 1 MiB │
│ Not Installed │ gcloud app Java Extensions                     │ app-engine-java          │ 59.6 MiB │
│ Not Installed │ gcloud app PHP Extensions                      │ app-engine-php           │ 21.9 MiB │
│ Not Installed │ gcloud app Python Extensions                   │ app-engine-python        │  6.1 MiB │
│ Not Installed │ gcloud app Python Extensions (Extra Libraries) │ app-engine-python-extras │ 27.1 MiB │
│ Not Installed │ pkg                                            │ pkg                      │          │
│ Installed     │ BigQuery Command Line Tool                     │ bq                       │  < 1 MiB │
│ Installed     │ Cloud SDK Core Libraries                       │ core                     │ 16.1 MiB │
│ Installed     │ Cloud Storage Command Line Tool                │ gsutil                   │  3.5 MiB │
│ Installed     │ kubectl                                        │ kubectl                  │  < 1 MiB │
└───────────────┴────────────────────────────────────────────────┴──────────────────────────┴──────────┘
To install or remove components at your current SDK version [322.0.0], run:
  $ gcloud components install COMPONENT_ID
  $ gcloud components remove COMPONENT_ID

To update your SDK installation to the latest version [322.0.0], run:
  $ gcloud components update

Looks like no offering for go any more??

And to be sure, I tried to install it:

➜  ~ gcloud components install app-engine-golang
ERROR: (gcloud.components.install) The following components are unknown [app-engine-golang].
➜  ~

Other than this, the sdk and command seem to work fine.

Is golang even supported any more??

Thanks in advance.

Kaan

unread,
Jan 10, 2021, 12:44:33 PM1/10/21
to Google App Engine
You're probably confused because you are used to the old way of doing things, none of the languages now exist as they did before

This is the docs I'm currently looking at for example, it has examples for every language, including Go: https://cloud.google.com/datastore/docs/concepts/transactions

Basically, the latest approach is to just let local development go, so you can use gcloud to probably deploy a Go app, but I don't think there's anything in there to let you emulate/develop an app as the old sdk did before (I assume it did it for Go, I was a Python user)

So TL;DR: Yes Go exists, but you probably just deploy things to production and test there
Reply all
Reply to author
Forward
0 new messages