mysql

package
v0.0.0-...-32983dc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Instance

func Instance(ctx context.Context, cfg *config.Config, log logger.Logger, migrationsDir string) (contract.DataManager, error)

Instance returns an instance of a MySQLRepo

func SetMysqlTestContainerConfig

func SetMysqlTestContainerConfig(ctx context.Context, cfg *config.Config) (closeFunc func())

SetMysqlTestContainerConfig set the mysql container for testing

You can use this function to set the mysql container for an integration testing

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL