package
1.12.1
Repository: https://github.com/contiamo/go-base.git
Documentation: pkg.go.dev

# Functions

EnsureDBReady is a helper utility that can be inserted into a test during development to make it simpler to run the test in isolation.
EqualCount asserts that the count of rows matches the expected value given the table and WHERE query and args.EqualCount Note that this is a simple COUNT of rows in a single table.
GetDatabase gets a test database.

# Type aliases

DBInitializer is the function that initializes the data base for testing.