This repository guides you to implement serverless microservice by using simple lambda function.
Perform following steps to configure the microservice example.
-
Run
GOOS=linux GOARCH=amd64 go build -o main main.goThis command will generate binary file frommain.go. -
Run
zip lambda.zip main. This will the compress generated binary file and will make zip file named main.zip.