mocks

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 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 Driver

type Driver struct {
	mock.Mock
}

Driver is an autogenerated mock type for the Driver type

func (*Driver) Builder

func (_m *Driver) Builder() *builder.Sqlbuilder

Builder provides a mock function with given fields:

func (*Driver) DB

func (_m *Driver) DB() *sqlx.DB

DB provides a mock function with given fields:

func (*Driver) Drop

func (_m *Driver) Drop() error

Drop provides a mock function with given fields:

func (*Driver) Dump

func (_m *Driver) Dump(path string, filename string) error

Dump provides a mock function with given fields: path, filename

func (*Driver) Install

func (_m *Driver) Install() error

Install provides a mock function with given fields:

func (*Driver) Migrate added in v0.0.3

func (_m *Driver) Migrate(_a0 *version.Version) error

Migrate provides a mock function with given fields: _a0

func (*Driver) Schema

func (_m *Driver) Schema() string

Schema provides a mock function with given fields:

func (*Driver) Tables

func (_m *Driver) Tables() ([]string, error)

Tables provides a mock function with given fields:

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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