mocks

package
v0.0.0-...-e83584d Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0

Code generated by mockery v1.0.0

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) GetByID

func (_m *Repository) GetByID(ctx context.Context, id int64) (*models.Transaction, error)

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

func (*Repository) Store

func (_m *Repository) Store(ctx context.Context, a *models.Transaction) error

Store provides a mock function with given fields: ctx, a

func (*Repository) Update

func (_m *Repository) Update(ctx context.Context, ar *models.Transaction) error

Update provides a mock function with given fields: ctx, ar

type Usecase

type Usecase struct {
	mock.Mock
}

Usecase is an autogenerated mock type for the Usecase type

func (*Usecase) GetByID

func (_m *Usecase) GetByID(ctx context.Context, id int64) (*models.Transaction, error)

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

func (*Usecase) Store

func (_m *Usecase) Store(_a0 context.Context, _a1 *models.Transaction) error

Store provides a mock function with given fields: _a0, _a1

func (*Usecase) Update

func (_m *Usecase) Update(ctx context.Context, ar *models.Transaction) error

Update provides a mock function with given fields: ctx, ar

Jump to

Keyboard shortcuts

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