test

package
v0.0.0-...-55e1567 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunWithMySQLInDocker

func RunWithMySQLInDocker(t *testing.T) (cleanUpFunc func(), db *gorm.DB, err error)

RunWithMySQLInDocker runs the tests with a MySQL instance in a docker container.

func RunWithRedisInDocker

func RunWithRedisInDocker(db int, t *testing.T) (cleanUpFunc func(), cli *redis.Client, err error)

RunWithRedisInDocker runs the tests with a redis instance in a docker container.

Types

This section is empty.

Jump to

Keyboard shortcuts

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