test

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func CleanDB

func CleanDB(db *gorm.DB)

func CleanDBTables

func CleanDBTables(db *gorm.DB, listOfTables []any)

func EqualList

func EqualList[T any](ts *suite.Suite, expectedList, actualList []T)

func FindFirst

func FindFirst[T any](ss []T, fn func(value T) bool) *T

func OpenWithRetry

func OpenWithRetry(
	dialector gorm.Dialector,
	logger logger.Interface,
	connectionTries uint,
	retryTime time.Duration,
) (*gorm.DB, error)

Types

This section is empty.

Directories

Path Synopsis
Code generated by cql-gen v0.0.6, DO NOT EDIT.
Code generated by cql-gen v0.0.6, DO NOT EDIT.
Code generated by cql-gen v0.0.6, DO NOT EDIT.
Code generated by cql-gen v0.0.6, DO NOT EDIT.

Jump to

Keyboard shortcuts

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