package
Version:
v0.45.2
Opens a new window with list of versions in this module.
Published: May 27, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Container struct {
testcontainers.Container
DatabaseURL string
}
Container wraps a testcontainer running Postgres.
New creates and starts a new Postgres testcontainer. Call Terminate() when done using it.
Terminate stops and removes the container.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.