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

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

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

func (*IRepo) Delete

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

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

func (*IRepo) QueryByID

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

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

func (*IRepo) QueryList

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

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

func (*IRepo) Update

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