Documentation
¶
Overview ¶
Package pgtest provides throwaway PostgreSQL databases for integration tests. Tests are skipped unless SF_TEST_PG_DSN points at a server where the user may create databases, for example:
SF_TEST_PG_DSN='postgres://user@127.0.0.1:5432/postgres?sslmode=disable'
Index ¶
Constants ¶
View Source
const EnvDSN = "SF_TEST_PG_DSN"
EnvDSN names the environment variable holding the admin DSN.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.