# Functions

Return a PostgreSQL connection string for the given container with default options when the container is NOT in a network Example: "postgres://postgres:postgres@localhost:5432/postgres_db?sslmode=disable".
Return a PostgreSQL connection string for the given container with default options when the container is in a network Example: "postgres://postgres:postgres@network_alias:5432/postgres_db?sslmode=disable".
WithDatabase is a PostgresOption that sets the database of the PostgreSQL container Default: "postgres_db".
WithExposedPort is a PostgresOption that sets the exposed port of the PostgreSQL container Default: "5432".
WithNetwork is a PostgresOption that sets the network alias of the PostgreSQL container Default: nil.
WithPass is a PostgresOption that sets the password of the PostgreSQL container Default: "postgres".
Return a new container definition for a PostgreSQL container with default options DockerImage: "postgres:16" Exposed ports: "5432" Environment variables: POSTGRES_DB: "postgres_db" POSTGRES_USER: "postgres" POSTGRES_PASSWORD: "postgres" BasePath: "/docker-entrypoint-initdb.d" WaitingForLog: "database system is ready to accept connections" StartupTimeout: "30 seconds".
WithUser is a PostgresOption that sets the user of the PostgreSQL container Default: "postgres".

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Options is a type that represents the options for a PostgreSQL container Default options: ExposedPort: "5432" Database: "postgres_db" User: "postgres" Pass: "postgres" Default network alias: nil.

# Type aliases

PostgresOption is a type that represents a PostgreSQL option.