dynamo

package
v0.0.0-...-d939588 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient() *dynamodb.DynamoDB

Types

type ProductRepository

type ProductRepository struct {
}

func (*ProductRepository) Create

func (p *ProductRepository) Create(product *entities.Product) (*entities.Product, error)

func (*ProductRepository) Delete

func (p *ProductRepository) Delete(id string) error

func (*ProductRepository) GetById

func (p *ProductRepository) GetById(id string) (*entities.Product, error)

func (*ProductRepository) Save

func (p *ProductRepository) Save(product *entities.Product) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL