mocks

package
v0.0.0-...-85695e2 Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BookRepository

type BookRepository struct {
	mock.Mock
}

func (*BookRepository) GetByID

func (_m *BookRepository) GetByID(ctx context.Context, id int64) (models.Book, error)

func (*BookRepository) Store

func (_m *BookRepository) Store(_a0 context.Context, _a1 *models.Book) error

type BookService

type BookService struct {
	mock.Mock
}

BookService is an autogenerated mock type for the BookService type

func (*BookService) GetByID

func (_m *BookService) GetByID(ctx context.Context, id int64) (models.Book, error)

func (*BookService) Store

func (_m *BookService) Store(_a0 context.Context, _a1 *models.Book) error

Jump to

Keyboard shortcuts

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