Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConnectionInfo ¶
type ConnectionInfo struct {
Host string
Port string
User string
Password string
DBName string
SSLMode string
}
ConnectionInfo contains database connection details
func (ConnectionInfo) ConnectionString ¶
func (c ConnectionInfo) ConnectionString() string
ConnectionString returns a PostgreSQL connection string
type Options ¶
type Options struct {
// MigrationsDir is the path to the migrations directory
MigrationsDir string
}
Options configures the test database creation
Click to show internal directories.
Click to hide internal directories.