databasetest

package
v0.0.0-...-a4b8a28 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: CC0-1.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDatabase

func CreateDatabase(t *testing.T, migrationPath string, cleanup bool) (*sql.DB, string)

CreateDatabase creates a clone of the database referenced by DATABASE_URL It returns the connection to the database as well as the created name

Types

This section is empty.

Jump to

Keyboard shortcuts

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