Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TestEnv ¶
type TestEnv struct {
Pool *dockertest.Pool
Client *dynamodb.Client
Endpoint string
}
TestEnv is a running dynamodb-local container with a connected client.
func NewTestEnv ¶
NewTestEnv starts a dynamodb-local Docker container and returns a connected client. It mirrors the postgres test harness.
Click to show internal directories.
Click to hide internal directories.