Documentation ¶
Overview ¶
Package postgrestest provides a package intended for running tests which require a Postgres backend.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDisabled = errgo.New("postgres testing is disabled")
ErrDisabled is returned by New when postgres testing has been explicitly disabled.
Functions ¶
func PgTestDisable ¶
func PgTestDisable() bool
PgTestDisable returns whether Postgres should be disabled based on the PGTESTDISABLE environment variable.
Types ¶
Click to show internal directories.
Click to hide internal directories.