Categorygithub.com/vcore8/dynamo
modulepackage
0.1.0
Repository: https://github.com/vcore8/dynamo.git
Documentation: pkg.go.dev

# README

Welcome to dynamo 👋

Project to easy connect on AWS Dynamo

install

go get https://github.com/vcore8/dynamo.git

how to use

cfg, _ := config.LoadDefaultConfig(ctx, config.WithRegion("us-east-1"))

db := dynamo.New(cfg)

// List By Hash and Sort key
err := db.Table("my-table").Get("hash", "123").SortBy("sort","321").All(ctx, &result)

// Get By Hash and Sort key
err := db.Table("my-table").Get("hash", "123").SortBy("sort","321").One(ctx, &result)

// Create item
err := db.Table("my-table").Create(ctx, data)

Author

👤 Eduardo Mello

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator

# Functions

No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author