mocks

package
v0.0.0-...-67f085a Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InsertBookService

type InsertBookService struct {
	mock.Mock
}

InsertBookService is an autogenerated mock type for the InsertBookService type

func NewInsertBookService

func NewInsertBookService(t mockConstructorTestingTNewInsertBookService) *InsertBookService

NewInsertBookService creates a new instance of InsertBookService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*InsertBookService) Call

Call provides a mock function with given fields: ctx, book

type UpdateBookService

type UpdateBookService struct {
	mock.Mock
}

UpdateBookService is an autogenerated mock type for the UpdateBookService type

func NewUpdateBookService

func NewUpdateBookService(t mockConstructorTestingTNewUpdateBookService) *UpdateBookService

NewUpdateBookService creates a new instance of UpdateBookService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*UpdateBookService) Call

Call provides a mock function with given fields: ctx, book

Jump to

Keyboard shortcuts

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