Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProjectRootPattern = regexp.MustCompile(`^(.*go-discogs).*`)
Functions ¶
func GetDsn ¶
func GetDsn(dt DatabaseType, db Database) string
func GetProjectRoot ¶
func GetProjectRoot() string
Types ¶
type Database ¶
type Database struct { Username string Password string Hostname string DBName string Type DatabaseType Port string Container testcontainers.Container }
func GetDatabase ¶
func GetDatabase(db DatabaseType) Database
type DatabaseType ¶
type DatabaseType int
const ( MySQL DatabaseType = iota + 1 Postgres SQLServer )
Click to show internal directories.
Click to hide internal directories.