func (m *MockBookSvc) Update(arg0 context.Context, arg1 string, arg2 *repo.Book) (*repo.Book, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Update", arg0, arg1, arg2)
	ret0, _ := ret[0].(*repo.Book)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
Update mocks base method
package service_mock
import (
	context "context"
	gomock "github.com/golang/mock/gomock"
	repo "github.com/typical-go/typical-rest-server/internal/app/repo"
	service "github.com/typical-go/typical-rest-server/internal/app/service"
	reflect "reflect"
)
type MockBookSvc struct {
	ctrl     *gomock.Controller
	recorder *MockBookSvcMockRecorder
}
type MockBookSvcMockRecorder struct {
	mock *MockBookSvc
}
func NewMockBookSvc(ctrl *gomock.Controller) *MockBookSvc {
	mock := &MockBookSvc{ctrl: ctrl}
	mock.recorder = &MockBookSvcMockRecorder{mock}
	return mock
}
func (m *MockBookSvc) EXPECT() *MockBookSvcMockRecorder {
	return m.recorder
}
func (m *MockBookSvc) Create(arg0 context.Context, arg1 *repo.Book) (*repo.Book, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Create", arg0, arg1)
	ret0, _ := ret[0].(*repo.Book)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockBookSvcMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Create", reflect.TypeOf((*MockBookSvc)(nil).Create), arg0, arg1)
}
func (m *MockBookSvc) Delete(arg0 context.Context, arg1 string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Delete", arg0, arg1)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockBookSvcMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockBookSvc)(nil).Delete), arg0, arg1)
}
func (m *MockBookSvc) Find(arg0 context.Context, arg1 *service.FindBookReq) (*service.FindBookResp, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Find", arg0, arg1)
	ret0, _ := ret[0].(*service.FindBookResp)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockBookSvcMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Find", reflect.TypeOf((*MockBookSvc)(nil).Find), arg0, arg1)
}
func (m *MockBookSvc) FindOne(arg0 context.Context, arg1 string) (*repo.Book, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "FindOne", arg0, arg1)
	ret0, _ := ret[0].(*repo.Book)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockBookSvcMockRecorder) FindOne(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FindOne", reflect.TypeOf((*MockBookSvc)(nil).FindOne), arg0, arg1)
}
func (m *MockBookSvc) Patch(arg0 context.Context, arg1 string, arg2 *repo.Book) (*repo.Book, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Patch", arg0, arg1, arg2)
	ret0, _ := ret[0].(*repo.Book)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockBookSvcMockRecorder) Patch(arg0, arg1, arg2 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Patch", reflect.TypeOf((*MockBookSvc)(nil).Patch), arg0, arg1, arg2)
}