Documentation ¶
Index ¶
- func AssertAfter(t *testing.T, db *dynamodb.DynamoDB, table string, ...) bool
- func NewDbContext(t *testing.T) (*session.Session, *dynamodb.DynamoDB, string)
- func NewLocalstackSession() *session.Session
- func NewTestTableName(t *testing.T) string
- func SetContent(t *testing.T, db *dynamodb.DynamoDB, table string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertAfter ¶
func NewDbContext ¶
NewDbContext generate AWS session, DynamoDB client, and a table name that will be deleted at the end of the function.
func NewLocalstackSession ¶
NewLocalstackSession creates a session to connect to localstack (must be started beforehand)
func NewTestTableName ¶
func SetContent ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.