function-python-go-binary

command
v0.0.0-...-221ca9b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

README

Python Function with an additional Go binary

A sample Python function which lets you add an additional go binary and call it as part of the function call.

Build the go binary:

GOOS=linux GOARCH=amd64 go build -o "my-program" -ldflags="-s -w" ./main.go

Deploy the function straight to Code Engine by running the following command from this directory

ibmcloud ce fn create -n py-go-func -runtime python-3.11 --build-source .

For more information follow blog -> IBM Cloud Code Engine: Running Binaries inside the IBM Cloud Code Engine Function Runtimes

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL