Google Cloud Function wrapper for CMG
gcloud functions deploy cmg --entry-point Cmg --runtime go111 --trigger-http
http https://europe-west1-kearos-gcp.cloudfunctions.net/cmg
http "https://europe-west1-kearos-gcp.cloudfunctions.net/cmg?type=large&max=365&min=156&minr=65&max300=22"
Make sure the go.mod
is compatible with Go 1.11, as this is currently the only supported runtime.
When you create a .mod
configuration with Go 1.12, it will add go 1.12
in the go.mod
file for no apparent reason.
This will fail the deployment of the GCF.