Project Structure
├── main.go # All implementation
├── go.mod
└── go,sum
go get github.com/aws/aws-lambda-go
set GOOS=linux
go build -o main main.go
$env:GOOS = "linux"
$env:CGO_ENABLED = "0"
$env:GOARCH = "amd64"
go build -o main main.go
go.exe get -u github.com/aws/aws-lambda-go/cmd/build-lambda-zip
%USERPROFILE%\Go\bin\build-lambda-zip.exe -output main.zip main
~\Go\Bin\build-lambda-zip.exe -output main.zip main