dbmock

package
v0.0.0-...-d025c41 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBTXMock

type DBTXMock interface {
	ExpectQueryx(expectedSQL string, model interface{}) *sqlmock.ExpectedQuery
	GetColumns(model interface{}) []string

	sqlmock.Sqlmock
}

func New

func New(sqlmock sqlmock.Sqlmock) DBTXMock

Jump to

Keyboard shortcuts

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