postgres

package
v0.0.0-...-9c716d7 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostgresTestContainer

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

func New

func (*PostgresTestContainer) ConnectionString

func (c *PostgresTestContainer) ConnectionString() string

func (*PostgresTestContainer) Container

func (*PostgresTestContainer) CreateSchema

func (c *PostgresTestContainer) CreateSchema(ctx context.Context, models ...any) error

func (*PostgresTestContainer) DB

func (c *PostgresTestContainer) DB() *bun.DB

func (*PostgresTestContainer) Terminate

func (c *PostgresTestContainer) Terminate(ctx context.Context) error

Jump to

Keyboard shortcuts

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