google-cloud-functions-go
google-cloud-functions-go copied to clipboard
plugin was built with a different version of package errors
I am getting below , using go1.9
$cat examples/topic/event.json | cloud-functions-go-shim -entry-point F -event-type topic -plugin-path functions.so
2017/09/09 10:37:27 unable to load the Go plugin: plugin.Open: plugin was built with a different version of package errors
$
You need to compile the shim using the same go runtime to to compile the plugin. I need to document that, then make that step unnecessary.