testutil

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HashKey  string = "_pk"
	RangeKey string = "_sk"
	LsiKey          = "_lsik"
)

following keys and attributes must be equals their equivalents defined in dynamodb package

Variables

View Source
var (
	LsiProjAttr []string = []string{"_key", "_kid"}
)

Functions

func CreateTable added in v0.2.2

func CreateTable(ctx context.Context, svc *dynamodb.Client, table string) error

func WithDynamoDBTable added in v0.2.2

func WithDynamoDBTable(t *testing.T, tfn func(dbsvc interface{}, table string))

Types

This section is empty.

Jump to

Keyboard shortcuts

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