Skip to content

t2run/apigateway-dynamodb-crud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API for DynamoDB CRUD operations

 Project Structure
  ├── main.go # All implementation
  ├── go.mod
  └── go,sum

Get all dependencies

go get github.com/aws/aws-lambda-go

To build for Linux for windows

cmd

set GOOS=linux
go build -o main main.go

powershell

$env:GOOS = "linux"
$env:CGO_ENABLED = "0"
$env:GOARCH = "amd64"
go build -o main main.go

To create ZIP

Get lambda zip tool

go.exe get -u github.com/aws/aws-lambda-go/cmd/build-lambda-zip

To ZIP

cmd

%USERPROFILE%\Go\bin\build-lambda-zip.exe -output main.zip main

powershell

~\Go\Bin\build-lambda-zip.exe -output main.zip main

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages