mysqldb_mock

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mysqldb_mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSongRepo

type MockSongRepo struct {
	// contains filtered or unexported fields
}

MockSongRepo is a mock of SongRepo interface

func NewMockSongRepo

func NewMockSongRepo(ctrl *gomock.Controller) *MockSongRepo

NewMockSongRepo creates a new mock instance

func (*MockSongRepo) Create

func (m *MockSongRepo) Create(arg0 context.Context, arg1 *mysqldb.Song) (int64, error)

Create mocks base method

func (*MockSongRepo) Delete

func (m *MockSongRepo) Delete(arg0 context.Context, arg1 dbkit.DeleteOption) (int64, error)

Delete mocks base method

func (*MockSongRepo) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockSongRepo) Find

func (m *MockSongRepo) Find(arg0 context.Context, arg1 ...dbkit.SelectOption) ([]*mysqldb.Song, error)

Find mocks base method

func (*MockSongRepo) Patch

func (m *MockSongRepo) Patch(arg0 context.Context, arg1 *mysqldb.Song, arg2 dbkit.UpdateOption) (int64, error)

Patch mocks base method

func (*MockSongRepo) Update

func (m *MockSongRepo) Update(arg0 context.Context, arg1 *mysqldb.Song, arg2 dbkit.UpdateOption) (int64, error)

Update mocks base method

type MockSongRepoMockRecorder

type MockSongRepoMockRecorder struct {
	// contains filtered or unexported fields
}

MockSongRepoMockRecorder is the mock recorder for MockSongRepo

func (*MockSongRepoMockRecorder) Create

func (mr *MockSongRepoMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockSongRepoMockRecorder) Delete

func (mr *MockSongRepoMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockSongRepoMockRecorder) Find

func (mr *MockSongRepoMockRecorder) Find(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockSongRepoMockRecorder) Patch

func (mr *MockSongRepoMockRecorder) Patch(arg0, arg1, arg2 interface{}) *gomock.Call

Patch indicates an expected call of Patch

func (*MockSongRepoMockRecorder) Update

func (mr *MockSongRepoMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update

Jump to

Keyboard shortcuts

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