mocks

package
v0.0.0-...-e01f8af Latest Latest
Warning

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

Go to latest
Published: Feb 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 Repository

type Repository struct {
	mock.Mock
}

Repository is an autogenerated mock type for the Repository type

func (*Repository) Insert

func (_m *Repository) Insert(_a0 *models.GIF) error

Insert provides a mock function with given fields: _a0

func (*Repository) Last

func (_m *Repository) Last() (*models.GIF, error)

Last provides a mock function with given fields:

func (*Repository) Update

func (_m *Repository) Update(_a0 *models.GIF) error

Update provides a mock function with given fields: _a0

type Service

type Service struct {
	mock.Mock
}

Service is an autogenerated mock type for the Service type

func (*Service) Latest

func (_m *Service) Latest(ctx context.Context) (*models.GIF, error)

Latest provides a mock function with given fields: ctx

func (*Service) Set

func (_m *Service) Set(ctx context.Context, _a1 *models.GIF) error

Set provides a mock function with given fields: ctx, _a1

Jump to

Keyboard shortcuts

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