testing

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToPtr

func ToPtr[T any](v T) *T

Types

type CockroachContainer

type CockroachContainer struct {
	testcontainers.Container
	URI string
}

func SetupCockroach

func SetupCockroach(t *testing.T) *CockroachContainer

type PostgresContainer

type PostgresContainer struct {
	testcontainers.Container
	URI      string
	Username string
	Password string
	Database string
	Port     string
}

func SetupPostgres

func SetupPostgres(t *testing.T) *PostgresContainer

type SQLiteContainer added in v1.1.0

type SQLiteContainer struct {
	testcontainers.Container
	URI string
}

func SetupSQLite added in v1.1.0

func SetupSQLite(t *testing.T) *SQLiteContainer

Jump to

Keyboard shortcuts

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