testdb

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBMigrations

type DBMigrations struct {
	// contains filtered or unexported fields
}

type DbProvider added in v0.2.6

type DbProvider interface {
	GetTestDB() *sqlx.DB
	Close()
}

DbProvider provides a migrated database and a method to close it (don't forget to do it).

func NewPostgresTestcontainerProvider

func NewPostgresTestcontainerProvider() (DbProvider, error)

Jump to

Keyboard shortcuts

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