biz

package
v0.0.0-...-890f6be Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package biz is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IRentalBiz

type IRentalBiz interface {
	ListByLocation(
		ctx contextx.Contextx,
		location *model.Location,
		opts ListByLocationOptions,
	) (rentals []*agg.Asset, total int, err error)
}

IRentalBiz is an interface for rental biz.

type ListByLocationOptions

type ListByLocationOptions struct {
	Page int
	Size int
}

ListByLocationOptions is the options for ListByLocation.

type MockIRentalBiz

type MockIRentalBiz struct {
	// contains filtered or unexported fields
}

MockIRentalBiz is a mock of IRentalBiz interface.

func NewMockIRentalBiz

func NewMockIRentalBiz(ctrl *gomock.Controller) *MockIRentalBiz

NewMockIRentalBiz creates a new mock instance.

func (*MockIRentalBiz) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIRentalBiz) ListByLocation

func (m *MockIRentalBiz) ListByLocation(ctx contextx.Contextx, location *model.Location, opts ListByLocationOptions) ([]*agg.Asset, int, error)

ListByLocation mocks base method.

type MockIRentalBizMockRecorder

type MockIRentalBizMockRecorder struct {
	// contains filtered or unexported fields
}

MockIRentalBizMockRecorder is the mock recorder for MockIRentalBiz.

func (*MockIRentalBizMockRecorder) ListByLocation

func (mr *MockIRentalBizMockRecorder) ListByLocation(ctx, location, opts interface{}) *gomock.Call

ListByLocation indicates an expected call of ListByLocation.

Jump to

Keyboard shortcuts

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