testutils

package
v0.0.0-...-5b699e1 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NormalizeSQL

func NormalizeSQL(sql string) string

NormalizeSQL removes volatile metadata from pg_dump/pgodump output

Types

type PostgresContainer

type PostgresContainer struct {
	testcontainers.Container
	URI string
}

func SetupPostgres

func SetupPostgres(ctx context.Context, image string) (*PostgresContainer, error)

Jump to

Keyboard shortcuts

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