Documentation ¶
Index ¶
- func Connect(conf *cfg.Config, noSubProcess bool) (*sqlx.DB, error)
- func ConnectNeo4j(conf *cfg.Config) (neo4j.DriverWithContext, error)
- func CreateDsn(dsn *cfg.DBConfig) string
- func DBTearDown(conf *cfg.Config) error
- func InitDB(conf *cfg.Config, noSubProcess, exitAfter bool, log *zerolog.Logger) error
- func Migrate(conf *cfg.Config, path string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectNeo4j ¶ added in v0.6.2
func ConnectNeo4j(conf *cfg.Config) (neo4j.DriverWithContext, error)
func DBTearDown ¶ added in v0.7.0
DBTearDown is a helper function to clean up the test database
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.