ddbtest

package
v0.0.0-...-461d331 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Constrains

func Constrains[T dynamo.Thing](
	returnVal map[string]types.AttributeValue,
) dynamo.KeyVal[T]

func DeleteItem

func DeleteItem[T dynamo.Thing](
	expectKey *map[string]types.AttributeValue,
) dynamo.KeyVal[T]

DeleteItem mock

func GetItem

func GetItem[T dynamo.Thing](
	expectKey *map[string]types.AttributeValue,
	returnVal *map[string]types.AttributeValue,
) dynamo.KeyVal[T]

GetItem mocks

func PutItem

func PutItem[T dynamo.Thing](
	expectVal *map[string]types.AttributeValue,
) dynamo.KeyVal[T]

PutItem mock

func Query

func Query[T dynamo.Thing](
	expectKey *map[string]types.AttributeValue,
	returnLen int,
	returnVal *map[string]types.AttributeValue,
	returnLastKey *map[string]types.AttributeValue,
) dynamo.KeyVal[T]

Query mock

func UpdateItem

func UpdateItem[T dynamo.Thing](
	expectKey *map[string]types.AttributeValue,
	expectVal *map[string]types.AttributeValue,
	returnVal *map[string]types.AttributeValue,
) dynamo.KeyVal[T]

UpdateItem mock

Types

This section is empty.

Jump to

Keyboard shortcuts

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