go-cloud-fn
go-cloud-fn copied to clipboard
Get some Go in google cloud functions
Go-cloud-fn does not bundle static files, which are therefore not found by the cloud function.
Look at a simple appengine go example https://github.com/GoogleCloudPlatform/golang-samples/blob/master/appengine_flexible/pubsub/pubsub.go and create a scheduled function. Basically by adding a `--trigger-schedule` flag that would serve as just another trigger.
Since `os.Stdin` satisifies the `io.Reader` interface it might be more performant to use it directly rather than reading it into memory.