Documentation ¶
Index ¶
- Variables
- func CleanDB(db *gorm.DB)
- func CleanDBTables(db *gorm.DB, listOfTables []any)
- func EqualList[T any](ts *suite.Suite, expectedList, actualList []T)
- func FindFirst[T any](ss []T, fn func(value T) bool) *T
- func OpenWithRetry(dialector gorm.Dialector, logger logger.Interface, connectionTries uint, ...) (*gorm.DB, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ListOfTables = []any{ models.Product{}, models.Company{}, models.Seller{}, models.Sale{}, models.Country{}, models.City{}, models.Employee{}, models.Person{}, models.Bicycle{}, models.Brand{}, models.Phone{}, models.ParentParent{}, models.Parent1{}, models.Parent2{}, models.Child{}, }
Functions ¶
func CleanDBTables ¶
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. |
Click to show internal directories.
Click to hide internal directories.