Skip to content

Instantly share code, notes, and snippets.

@ivan-marquez
Created October 19, 2019 20:53
Show Gist options
  • Save ivan-marquez/259ec87aacc6b3010cef85169dfa9964 to your computer and use it in GitHub Desktop.
Save ivan-marquez/259ec87aacc6b3010cef85169dfa9964 to your computer and use it in GitHub Desktop.
Bash script to build AWS Lambda functions in Go
export GO111MODULE=on
env GOOS=linux go build -ldflags="-s -w" -o main
zip main.zip main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment