Documentation ¶ Index ¶ Variables type Container func New(t *testing.T) *Container func (p *Container) Address() string func (p *Container) DSN() string func (p *Container) Sqlx() *sqlx.DB func (p *Container) Stop(t *testing.T) Constants ¶ This section is empty. Variables ¶ View Source var DefaultPostgresImage = "docker.io/postgres:13.15-alpine" Functions ¶ This section is empty. Types ¶ type Container ¶ type Container struct { *dbutils.Database // contains filtered or unexported fields } func New ¶ func New(t *testing.T) *Container func (*Container) Address ¶ func (p *Container) Address() string func (*Container) DSN ¶ func (p *Container) DSN() string func (*Container) Sqlx ¶ func (p *Container) Sqlx() *sqlx.DB func (*Container) Stop ¶ func (p *Container) Stop(t *testing.T) Source Files ¶ View all Source files postgres.go Click to show internal directories. Click to hide internal directories.