mocks

package
v0.0.0-...-98765d7 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2020 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 Repository

type Repository struct {
	mock.Mock
}

Repository is an autogenerated mock type for the Repository type

func (*Repository) Fetch

func (_m *Repository) Fetch(ctx context.Context) ([]*model.User, error)

Fetch provides a mock function with given fields: ctx

func (*Repository) GetByID

func (_m *Repository) GetByID(ctx context.Context, id int) (*model.User, error)

GetByID provides a mock function with given fields: ctx, id

type Usecase

type Usecase struct {
	mock.Mock
}

Usecase is an autogenerated mock type for the Usecase type

func (*Usecase) Fetch

func (_m *Usecase) Fetch(ctx context.Context) ([]*model.User, error)

Fetch provides a mock function with given fields: ctx

func (*Usecase) GetByID

func (_m *Usecase) GetByID(ctx context.Context, id int) (*model.User, error)

GetByID provides a mock function with given fields: ctx, id

Jump to

Keyboard shortcuts

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