Re:Cloud Functions: Go 1.11 is now a supported language
by gobuildship on Wednesday January 16, 2019 @02:42PM
(#18924278)
Just do what Azure does with functions. Have used their VS Code local debug and "just worked" out of the box
If you just want to execute your function, create another package main and start an HTTP server, as you'd normally do.
There are some examples on this page: https://cloud.google.com/functions/docs/bestpractices/testin...
We're thinking about ways to improve the local development/testing story, and are keen to hear any ideas/feedback.
Disclaimer: I work at Google, and worked on this product.