examples

package module
v0.0.0-...-a784a93 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func DeleteItemByID

func DeleteItemByID(ID int) (*string, error)

DeleteItemByID - example func using DeleteItemRequest method

func GetNameByID

func GetNameByID(ID int) (*string, error)

GetNameByID - example func using GetItemRequest method

func PutNameByID

func PutNameByID(ID int, name string) (*string, error)

GetName - example func using GetItem method

func QueryByID

func QueryByID(ID int) (*string, error)

func UpdateNameByID

func UpdateNameByID(ID int, name string) (*string, error)

UpdateName - example func using UpdateItemRequest method

Types

type FakeDynamo

type FakeDynamo struct {
	DB dynamodbiface.ClientAPI
}

FakeDynamo struct hold dynamodb connection

var Fake *FakeDynamo

Fake - object from MyDynamo

Jump to

Keyboard shortcuts

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