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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BookController

type BookController struct {
	mock.Mock
}

BookController is an autogenerated mock type for the BookController type

func NewBookController

func NewBookController(t mockConstructorTestingTNewBookController) *BookController

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

func (*BookController) CreateBook

func (_m *BookController) CreateBook(_a0 echo.Context) error

CreateBook provides a mock function with given fields: _a0

func (*BookController) DeleteBook

func (_m *BookController) DeleteBook(_a0 echo.Context) error

DeleteBook provides a mock function with given fields: _a0

func (*BookController) GetBook

func (_m *BookController) GetBook(_a0 echo.Context) error

GetBook provides a mock function with given fields: _a0

func (*BookController) ListBooks

func (_m *BookController) ListBooks(_a0 echo.Context) error

ListBooks provides a mock function with given fields: _a0

func (*BookController) UpdateBook

func (_m *BookController) UpdateBook(_a0 echo.Context) error

UpdateBook provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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