Documentation ¶
Index ¶
- func Close(ctx context.Context)
- func GetRepository() database.Repository
- func Migrate(ctx context.Context) error
- func MysqlConnectString(username string, password string, databaseName string, parameters []string) string
- func Open(ctx context.Context, variant string, mysqlConnectString string) error
- func SetRepository(repository database.Repository)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRepository ¶
func GetRepository() database.Repository
func MysqlConnectString ¶
func SetRepository ¶
func SetRepository(repository database.Repository)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.