testdb

package
v0.0.0-...-25b90bb Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBMock

type DBMock interface {
	sqlmock.Sqlmock
	AssertExpectations(t *testing.T)
}

func MockDatabase

func MockDatabase(t *testing.T) (*sqlx.DB, DBMock)

Jump to

Keyboard shortcuts

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