Skip to content

Instantly share code, notes, and snippets.

@Gentoli
Last active September 19, 2022 15:46
Show Gist options
  • Select an option

  • Save Gentoli/7342bcbc02e6cad77e52fbe5973259d4 to your computer and use it in GitHub Desktop.

Select an option

Save Gentoli/7342bcbc02e6cad77e52fbe5973259d4 to your computer and use it in GitHub Desktop.
Things didn't work as expected

Golang

  • Generic with pointer/value receiver is ambiguous

Google Cloud Functions

Go

  • no doc/cannot have a package as entrypoint, only root
    • register with functions.CloudEvent for different entry point but all dependencies will be build
  • can be built with buildpacks, but no doc on how to deploy to prod
  • pubsub trigger doc ambiguous on what struct/type should I expect for the event when the data is protobuf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment