service_mock

package
v0.8.38 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

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 *repository.Book) (*repository.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) Patch

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

Patch mocks base method

func (*MockBookSvc) Retrieve added in v0.8.32

func (m *MockBookSvc) Retrieve(arg0 context.Context) ([]*repository.Book, error)

Retrieve mocks base method

func (*MockBookSvc) RetrieveOne added in v0.8.32

func (m *MockBookSvc) RetrieveOne(arg0 context.Context, arg1 string) (*repository.Book, error)

RetrieveOne mocks base method

func (*MockBookSvc) Update

func (m *MockBookSvc) Update(arg0 context.Context, arg1 string, arg2 *repository.Book) (*repository.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) Patch

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

Patch indicates an expected call of Patch

func (*MockBookSvcMockRecorder) Retrieve added in v0.8.32

func (mr *MockBookSvcMockRecorder) Retrieve(arg0 interface{}) *gomock.Call

Retrieve indicates an expected call of Retrieve

func (*MockBookSvcMockRecorder) RetrieveOne added in v0.8.32

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

RetrieveOne indicates an expected call of RetrieveOne

func (*MockBookSvcMockRecorder) Update

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