dbenv

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Use

func Use(ctx context.Context, env Environment) (*sql.DB, error)

func UseForTesting

func UseForTesting(
	t *testing.T,
	env Environment,
) *sql.DB

Types

type Environment

type Environment interface {
	Connect(ctx context.Context) (*sql.DB, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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