mocks

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 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 *event.Record) (*event.Record, error)

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

func (*IRepo) Delete

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

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

func (*IRepo) GetByID

func (_m *IRepo) GetByID(ctx contextx.Contextx, id int64) (*event.Record, error)

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

func (*IRepo) List

func (_m *IRepo) List(ctx contextx.Contextx, actID int64, limit int, offset int) ([]*event.Record, error)

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

Jump to

Keyboard shortcuts

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