googlearchive / cloud-functions-go

Unofficial Native Go Runtime for Google Cloud Functions
Apache License 2.0
423 stars 44 forks source link

How to deploy function to local emulator? #38

Closed kanekv closed 6 years ago

ssttevee commented 6 years ago

If you mean using the @google-cloud/functions-emulator npm package, you can't.

However, there is an alternative, which is described in the readme: https://github.com/GoogleCloudPlatform/cloud-functions-go#local-testing

TLDR: you'll probably want to run make godev

kanekv commented 6 years ago

Thanks, makes sense!