Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CleanupFunc ¶
type CleanupFunc func()
CleanupFunc deletes the schema and all database objects.
func NewPostgresSchema ¶
NewPostgresSchema opens a connection with search_path set to a randomly named, new schema and loads all sqlFiles.
func NewPostgresSchemaString ¶
NewPostgresSchemaString opens a connection with search_path set to a randomly named, new schema and loads the sql string.
type Option ¶
type Option func(config *pgx.ConnConfig)
Click to show internal directories.
Click to hide internal directories.