service_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: 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 *postgresdb.Book) (*postgresdb.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

func (m *MockBookSvc) Find(arg0 context.Context) ([]*postgresdb.Book, error)

Find mocks base method

func (*MockBookSvc) FindOne

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

FindOne mocks base method

func (*MockBookSvc) Patch

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

Patch mocks base method

func (*MockBookSvc) Update

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

Jump to

Keyboard shortcuts

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