test

package
v0.0.0-...-cf4d00b Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoRollback

func AutoRollback(f func(conn database.TxConn) error) error

func PrepareDatabaseTest

func PrepareDatabaseTest() error

func RunFixtures

func RunFixtures(conn database.TxConn, tableName string, data ...map[string]interface{}) error

Types

This section is empty.

Directories

Path Synopsis
infra/database
Package mock_database is a generated GoMock package.
Package mock_database is a generated GoMock package.

Jump to

Keyboard shortcuts

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