mrserverless / serverless-golang

AWS Lambda Go functions using Serverless Framework and Python shim
Other
303 stars 21 forks source link

Add support for Google Cloud Functions #16

Open mrserverless opened 7 years ago

mrserverless commented 7 years ago

Similar to https://github.com/serverless/examples/tree/master/google-node-simple-http-endpoint

kmarquardsen commented 6 years ago

are you open to some help with this?

mrserverless commented 6 years ago

Hi @kmarquardsen yes please. I have done some preliminary research reading through https://github.com/GoogleCloudPlatform/cloud-functions-go but haven't had a chance to dig deeper. If you could assist that would be great!

mrserverless commented 6 years ago

however, as discussed via email, I'm a bit reluctant to priortise GCF at this point due to:

  1. they only support one geographical region in Iowa (us-central1)
  2. doesn't seem to have similar features as API Gateway to expose their functions.
kmarquardsen commented 6 years ago

agreed, lower priority based on our chat.

petomalina commented 6 years ago

Hi guys, I already created a supporting CLI for golang GCF here https://github.com/flowup/cloudfunc . There will be one BC break in next week as I will need to expose more than just a body that was received (query params, method, etc).

I am definitely open to helping with integration of golang GCF into serverless.

mrserverless commented 6 years ago

thanks @gelidus just curious what are your thoughts on cloud-functions-go. I haven't looked deeper into it but at first glance I'm more leaning towards it's native approach instead of using a node shim.