service_mock

package
v0.9.16 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package service_mock is a generated GoMock package.

Package service_mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBookSvc

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

MockBookSvc is a mock of BookSvc interface

func NewMockBookSvc

func NewMockBookSvc(ctrl *gomock.Controller) *MockBookSvc

NewMockBookSvc creates a new mock instance

func (*MockBookSvc) Create

func (m *MockBookSvc) Create(arg0 context.Context, arg1 *entity.Book) (*entity.Book, error)

Create mocks base method

func (*MockBookSvc) Delete

func (m *MockBookSvc) Delete(arg0 context.Context, arg1 string) error

Delete mocks base method

func (*MockBookSvc) EXPECT

func (m *MockBookSvc) EXPECT() *MockBookSvcMockRecorder

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

func (*MockBookSvc) Find

Find mocks base method

func (*MockBookSvc) FindOne

func (m *MockBookSvc) FindOne(arg0 context.Context, arg1 string) (*entity.Book, error)

FindOne mocks base method

func (*MockBookSvc) Patch

func (m *MockBookSvc) Patch(arg0 context.Context, arg1 string, arg2 *entity.Book) (*entity.Book, error)

Patch mocks base method

func (*MockBookSvc) Update

func (m *MockBookSvc) Update(arg0 context.Context, arg1 string, arg2 *entity.Book) (*entity.Book, error)

Update mocks base method

type MockBookSvcMockRecorder

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

MockBookSvcMockRecorder is the mock recorder for MockBookSvc

func (*MockBookSvcMockRecorder) Create

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

Create indicates an expected call of Create

func (*MockBookSvcMockRecorder) Delete

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

Delete indicates an expected call of Delete

func (*MockBookSvcMockRecorder) Find

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

Find indicates an expected call of Find

func (*MockBookSvcMockRecorder) FindOne

func (mr *MockBookSvcMockRecorder) FindOne(arg0, arg1 interface{}) *gomock.Call

FindOne indicates an expected call of FindOne

func (*MockBookSvcMockRecorder) Patch

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

Patch indicates an expected call of Patch

func (*MockBookSvcMockRecorder) Update

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

Update indicates an expected call of Update

type MockSongSvc

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

MockSongSvc is a mock of SongSvc interface

func NewMockSongSvc

func NewMockSongSvc(ctrl *gomock.Controller) *MockSongSvc

NewMockSongSvc creates a new mock instance

func (*MockSongSvc) Create

func (m *MockSongSvc) Create(arg0 context.Context, arg1 *entity.Song) (*entity.Song, error)

Create mocks base method

func (*MockSongSvc) Delete

func (m *MockSongSvc) Delete(arg0 context.Context, arg1 string) error

Delete mocks base method

func (*MockSongSvc) EXPECT

func (m *MockSongSvc) EXPECT() *MockSongSvcMockRecorder

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

func (*MockSongSvc) Find

Find mocks base method

func (*MockSongSvc) FindOne

func (m *MockSongSvc) FindOne(arg0 context.Context, arg1 string) (*entity.Song, error)

FindOne mocks base method

func (*MockSongSvc) Patch

func (m *MockSongSvc) Patch(arg0 context.Context, arg1 string, arg2 *entity.Song) (*entity.Song, error)

Patch mocks base method

func (*MockSongSvc) Update

func (m *MockSongSvc) Update(arg0 context.Context, arg1 string, arg2 *entity.Song) (*entity.Song, error)

Update mocks base method

type MockSongSvcMockRecorder

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

MockSongSvcMockRecorder is the mock recorder for MockSongSvc

func (*MockSongSvcMockRecorder) Create

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

Create indicates an expected call of Create

func (*MockSongSvcMockRecorder) Delete

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

Delete indicates an expected call of Delete

func (*MockSongSvcMockRecorder) Find

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

Find indicates an expected call of Find

func (*MockSongSvcMockRecorder) FindOne

func (mr *MockSongSvcMockRecorder) FindOne(arg0, arg1 interface{}) *gomock.Call

FindOne indicates an expected call of FindOne

func (*MockSongSvcMockRecorder) Patch

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

Patch indicates an expected call of Patch

func (*MockSongSvcMockRecorder) Update

func (mr *MockSongSvcMockRecorder) 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