Documentation ¶
Index ¶
Constants ¶
View Source
const MigrationsPath = "file://../database/db-migrations"
Variables ¶
This section is empty.
Functions ¶
func AssertEqualValues ¶
AssertEqualValues helps compare values recursively, using the Equal method where exists. This helps with timestamp comparisons.
func CreateTestDB ¶
CreateTestDB connects to test postgreSQL instance (either local or the one at CI environment) and creates a new database with an up-to-date schema. It returns a reference to the DB and a clean up function if successful.
func GetEnvOrDefault ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.