Update appengine for the Go 1.11 runtime.

https://cloud.google.com/appengine/docs/standard/go111/go-differences
This is untested, because I wasn't actually able to deploy without
enabling Cloud Build and setting up a billing account.
This commit is contained in:
David Fifield 2020-02-24 00:15:54 -07:00
parent c124e8c643
commit c2a12c25d1
3 changed files with 28 additions and 4 deletions

25
appengine/.gcloudignore Normal file
View file

@ -0,0 +1,25 @@
# This file specifies files that are *not* uploaded to Google Cloud Platform
# using gcloud. It follows the same syntax as .gitignore, with the addition of
# "#!include" directives (which insert the entries of the given .gitignore-style
# file at that point).
#
# For more information, run:
# $ gcloud topic gcloudignore
#
.gcloudignore
# If you would like to upload your .git directory, .gitignore file or files
# from your .gitignore file, remove the corresponding line
# below:
.git
.gitignore
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
# Test binary, build with `go test -c`
*.test
# Output of the go coverage tool, specifically when used with LiteIDE
*.out

View file

@ -1,7 +1,6 @@
runtime: go runtime: go111
api_version: go1
handlers: handlers:
- url: /.* - url: /.*
script: _go_app
secure: always secure: always
script: auto

View file

@ -1,6 +1,6 @@
// A web app for Google App Engine that proxies HTTP requests and responses to // A web app for Google App Engine that proxies HTTP requests and responses to
// the Snowflake broker. // the Snowflake broker.
package reflect package main
import ( import (
"context" "context"