Nice! Go 1.11, especially modules, is a great step forward.
Actually tried to use it in production these last few months. The core of the experience is awesome, didn't run into any issues at all. The problem is that all the tooling like errcheck doesn't support go modules yet. So we ended up going back to the dep package manager. Will try again in a couple of months. Here's a ticket about the issue: https://github.com/golang/go/issues/24661
Cloud Functions: Go 1.11 is now a supported language
51–60 of 107 posts
Re: Cloud Functions: Go 1.11 is now a supported language
#52As an aside, and since there are some googlers here, the heading animation on the blog has some issues in Firefox. They are super annoying. Would be nice if google supported all browsers. https://photos.app.goo.gl/MgsfH8GZndCdyBjeA
I’ll raise it with the team thanks!
Re: Cloud Functions: Go 1.11 is now a supported language
#53Earlier quoted context omitted.
Which ones would you like to see? We're always looking for new use cases to support.
These are not specific to Go. firebase authentication -> user account from disabled to enabled. firebase authentication -> when a new phone number is associated. Firestore -> field level triggers. Right now we have only document level trigger.
For what it's worth, if you have an onUpdate trigger on a Firestore database, the event you receive has the before & after state of the change, which would include field-level changes: https://firebase.google.com/docs/functions/firestore-events#...
Is there a specific use-case that this doesn't handle for you?
Note: Work at GCP, not on Functions.
Re: Cloud Functions: Go 1.11 is now a supported language
#54Hey all - Seth from Google here. We're really excited to bring Go to Google Cloud Functions (GCF). Please try it out, give us feedback, and let us know if you have any questions!
Hey Seth, I was wondering if you guys ever discussed the previous AWS vs GCP performance post that was on here a while back.
Re: Cloud Functions: Go 1.11 is now a supported language
#55This is probably not a surprise for folks who have been using Python or Node for cloud functions, but it is something to think about.
Other FaaS providers don't have this requirement, and just take a Linux x86_64 binary.
Re: Cloud Functions: Go 1.11 is now a supported language
#56Earlier quoted context omitted.
These are not specific to Go. firebase authentication -> user account from disabled to enabled. firebase authentication -> when a new phone number is associated. Firestore -> field level triggers. Right now we have only document level trigger.
> Firestore -> field level triggers. Right now we have only document level trigger. For what it's worth, if you have an onUpdate trigger on a Firestore database, the event you receive has the before & after state of the change, which would include field-level changes: https://firebase.google.com/docs/functions/firestore-events#... Is there a specific use-case that this doesn't handle for you? Note: Work at GCP, not o…
My use-case is simple. Want to get my CF triggered if the value of a particular field in a doc changes. Thanks.
Re: Cloud Functions: Go 1.11 is now a supported language
#57Earlier quoted context omitted.
Does this effort take you closer to the (supposed) goal of running arbitrary X86/ARM Linux binaries as cloud functions, or is that a completely different direction?
At the sandboxing level, it's already possible (you can upload any binary and fork/exec it from one of the supported languages). That's made possible by gVisor, which is the underlying sandbox technology used in GAE and GCF. As for making that an actual product, we're working on that, too. Sign up for the alpha here: g.co/serverlesscontainers Disclaimer: I work on GCP.
Re: Cloud Functions: Go 1.11 is now a supported language
#58Earlier quoted context omitted.
Hey Seth, I was wondering if you guys ever discussed the previous AWS vs GCP performance post that was on here a while back.
Do you have a link to this please?
Re: Cloud Functions: Go 1.11 is now a supported language
#59Why the continued work on a one-off runtime and http response spec instead?
Re: Cloud Functions: Go 1.11 is now a supported language
#60One thing that is not super clear from the blog post, and which may be a surpsise to some, is that Cloud Functions will require you to upload your source code. The compilation happens not on your end but on Google servers. This is probably not a surprise for folks who have been using Python or Node for cloud functions, but it is something to think about. Other FaaS providers don't have this requirement, and just take…