mocks

package
v1.2.4 Latest Latest
Warning

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

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

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

Count provides a mock function with given fields: ctx

func (*IRepo) Create

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

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

func (*IRepo) Delete

func (_m *IRepo) Delete(ctx contextx.Contextx, id string) (int, error)

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

func (*IRepo) List

func (_m *IRepo) List(ctx contextx.Contextx, offset int, limit int) ([]*okr.Objective, error)

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

func (*IRepo) QueryByID

func (_m *IRepo) QueryByID(ctx contextx.Contextx, id string) (*okr.Objective, error)

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

func (*IRepo) Update

func (_m *IRepo) Update(ctx contextx.Contextx, updated *okr.Objective) (*okr.Objective, 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