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 IBiz

type IBiz struct {
	mock.Mock
}

IBiz is an autogenerated mock type for the IBiz type

func (*IBiz) ChangeName

func (_m *IBiz) ChangeName(ctx contextx.Contextx, id int64, name string) (*event.Activity, error)

ChangeName provides a mock function with given fields: ctx, id, name

func (*IBiz) Delete

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

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

func (*IBiz) GetByID

func (_m *IBiz) GetByID(ctx contextx.Contextx, id int64) (*event.Activity, error)

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

func (*IBiz) InviteMembers

func (_m *IBiz) InviteMembers(ctx contextx.Contextx, id int64, emails []string) (*event.Activity, error)

InviteMembers provides a mock function with given fields: ctx, id, emails

func (*IBiz) List

func (_m *IBiz) List(ctx contextx.Contextx, page int, size int) ([]*event.Activity, int, error)

List provides a mock function with given fields: ctx, page, size

func (*IBiz) NewWithMembers

func (_m *IBiz) NewWithMembers(ctx contextx.Contextx, name string, emails []string) (*event.Activity, error)

NewWithMembers provides a mock function with given fields: ctx, name, emails

Jump to

Keyboard shortcuts

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