Documentation ¶
Index ¶
- type BookController
- func (_m *BookController) CreateBook(_a0 echo.Context) error
- func (_m *BookController) DeleteBook(_a0 echo.Context) error
- func (_m *BookController) GetBook(_a0 echo.Context) error
- func (_m *BookController) ListBooks(_a0 echo.Context) error
- func (_m *BookController) UpdateBook(_a0 echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BookController ¶
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
Click to show internal directories.
Click to hide internal directories.