Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgreSQL ¶
type PostgreSQL interface {
DSN(db string) (string, error)
MustDSN(db string) string
CreateDB(ctx context.Context, db string) error
DropDB(ctx context.Context, db string) error
Close(ctx context.Context) error
}
func NewWithImage ¶
func NewWithImage(ctx context.Context, image string) (PostgreSQL, error)
Click to show internal directories.
Click to hide internal directories.