mocks

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: GPL-3.0 Imports: 4 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) Book

func (_m *IRepo) Book(ctx contextx.Contextx, id string, projID string, _a3 *user.Profile) (*order.Booking, error)

Book provides a mock function with given fields: ctx, id, projID, _a3

func (*IRepo) CancelBooking

func (_m *IRepo) CancelBooking(ctx contextx.Contextx, id string, _a2 *user.Profile) error

CancelBooking provides a mock function with given fields: ctx, id, _a2

func (*IRepo) QueryBookings

func (_m *IRepo) QueryBookings(ctx contextx.Contextx, _a1 *user.Profile) ([]*order.Info, error)

QueryBookings provides a mock function with given fields: ctx, _a1

Jump to

Keyboard shortcuts

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