Simple example of how to use gofn
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
encode
sum
upper
.gitignore
LICENSE
README.md
main.go

README.md

gofn Example

Create docker images

docker build -t sum sum/.
docker build -t encode encode/.
docker build -t upper upper/.

Run docker images via gofn

go get ./...
go run main.go -image=sum -p1=2 -p2=2
go run main.go -image=upper -p1="Hello, world"
go run main.go -image=encode -p1="string to be encoded"