package
Version:
v0.47.6
Opens a new window with list of versions in this module.
Published: Aug 6, 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.