testdb

package
v1.0.0-dev.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunUnmigratedWhile

func RunUnmigratedWhile(t *testing.T, write bool) *sql.DB

RunUnmigratedWhile runs a database while the provided test is executing. It returns an empty database without any migrations applied.

func RunWhile

func RunWhile(t *testing.T, write bool) *sql.DB

RunWhile runs a database while the provided test is executing. It returns an empty database with all migrations applied.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL