testutil

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: BSD-2-Clause, MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckErr

func CheckErr(t testing.TB, expect, actual error) (finished bool)

func InitTempDB

func InitTempDB() (db *gorm.DB, closer func())

InitTempDB - запускает docker с postgres, подключается к бд и возвращает репозиторий, соединенный с новой базой данных

Types

This section is empty.

Jump to

Keyboard shortcuts

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