testdynamo

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupTestTable

func SetupTestTable(t *testing.T, testData []TestData) *dynamodb.Client

func TestRecordAsItem

func TestRecordAsItem(t *testing.T, item map[string]interface{}) models.Item

Types

type TestData

type TestData struct {
	TableName string
	Index     []string
	Data      []map[string]interface{}
}

Jump to

Keyboard shortcuts

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