Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresContainer ¶
type PostgresContainer struct { Container testcontainers.Container CloseFn func() Host string Port string Database string Username string Password string }
func SetupPostgres ¶
func SetupPostgres(ctx context.Context) (*PostgresContainer, error)
SetupPostgres creates an instance of the postgres container type
Click to show internal directories.
Click to hide internal directories.