Documentation ¶
Index ¶
- func RunWithMongoInDocker(t *testing.T) (cleanUpFunc func(), cli *mongo.Client, err error)
- func RunWithMySQLInDocker(t *testing.T) (cleanUpFunc func(), db *gorm.DB, err error)
- func RunWithRedisInDocker(db int, t *testing.T) (cleanUpFunc func(), cli *redis.Client, err error)
- func SetupIndexes(c context.Context, d *mongo.Database) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunWithMongoInDocker ¶
RunWithMongoInDocker runs the tests with a mongodb instance in a docker container.
func RunWithMySQLInDocker ¶
RunWithMySQLInDocker runs the tests with a MySQL instance in a docker container.
func RunWithRedisInDocker ¶
RunWithRedisInDocker runs the tests with a redis instance in a docker container.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.