databasetesting

package
v0.408.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateForDevel

func CreateForDevel(ctx context.Context, dsn string, recreate bool) (*stdsql.DB, error)

CreateForDevel creates and migrates a new database for development or testing.

If "recreate" is true, the database will be dropped and recreated.

Types

This section is empty.

Jump to

Keyboard shortcuts

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