mocks

package
v1.3.17 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2021 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 IRepo

type IRepo struct {
	mock.Mock
}

IRepo is an autogenerated mock type for the IRepo type

func (*IRepo) Count added in v1.3.7

func (_m *IRepo) Count(ctx contextx.Contextx, userID int64, goalID int64) (int, error)

Count provides a mock function with given fields: ctx, userID, goalID

func (*IRepo) Create

func (_m *IRepo) Create(ctx contextx.Contextx, created *okr.Result) (*okr.Result, error)

Create provides a mock function with given fields: ctx, created

func (*IRepo) Delete

func (_m *IRepo) Delete(ctx contextx.Contextx, userID int64, id int64, goalID int64) error

Delete provides a mock function with given fields: ctx, userID, id, goalID

func (*IRepo) GetByID added in v1.3.7

func (_m *IRepo) GetByID(ctx contextx.Contextx, userID int64, id int64, goalID int64) (*okr.Result, error)

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

func (*IRepo) List added in v1.3.7

func (_m *IRepo) List(ctx contextx.Contextx, userID int64, goalID int64, limit int, offset int) ([]*okr.Result, error)

List provides a mock function with given fields: ctx, userID, goalID, limit, offset

func (*IRepo) Update

func (_m *IRepo) Update(ctx contextx.Contextx, updated *okr.Result) (*okr.Result, error)

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

Jump to

Keyboard shortcuts

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