According to the docs, you just have to include them in the app.yaml file https://cloud.google.com/appengine/docs/go/config/appconfig#Go_app_yaml_Defining_environment_variables
So I did that like this:
env_variables:
DEVDOT_OAUTH_CLIENT_ID: 'xxxxx'
DEVDOT_OAUTH_CLIENT_SECRET: 'xxxxxx'
But when my application runs, it doesn't get these values. I'm running on a MVM runtime so I removed my init() function and tried calling os.Getenv() from both main() and from a handler I had assigned to the /_ah/start path.
Any ideas?