serverless-openwhisk icon indicating copy to clipboard operation
serverless-openwhisk copied to clipboard

Golang runtime (not binary) for Openwhisk

Open jonee opened this issue 3 years ago • 1 comments

Use case description

Openwhisk has a Golang runtime which is better for development in Golang. See https://www.ibm.com/cloud/blog/announcements/ibm-cloud-functions-adds-native-support-for-go-1-11

Right now, in serverless you have to use the binary runtime in order to use Golang.

Native / Docker runtime in Openwhisk (which is binary in serverless) does not re use variables outside of the main function. This is usually used to reuse db connection. See https://github.com/apache/openwhisk/issues/5044

jonee avatar Jan 09 '21 20:01 jonee

Hello @jonee, thanks for reporting. I've transfered the issue to corresponding openwhisk repository.

pgrzesik avatar Jan 10 '21 17:01 pgrzesik