util

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPaginationOpt

type MockPaginationOpt struct {
	mock.Mock
}

MockPaginationOpt is an autogenerated mock type for the PaginationOpt type

func NewMockPaginationOpt

func NewMockPaginationOpt(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockPaginationOpt

NewMockPaginationOpt creates a new instance of MockPaginationOpt. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockPaginationOpt) EXPECT

func (*MockPaginationOpt) Execute

func (_m *MockPaginationOpt) Execute(_a0 *util.PaginationOpts)

Execute provides a mock function with given fields: _a0

type MockPaginationOpt_Execute_Call

type MockPaginationOpt_Execute_Call struct {
	*mock.Call
}

MockPaginationOpt_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'

func (*MockPaginationOpt_Execute_Call) Return

func (*MockPaginationOpt_Execute_Call) Run

func (*MockPaginationOpt_Execute_Call) RunAndReturn

type MockPaginationOpt_Expecter

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

func (*MockPaginationOpt_Expecter) Execute

func (_e *MockPaginationOpt_Expecter) Execute(_a0 interface{}) *MockPaginationOpt_Execute_Call

Execute is a helper method to define mock.On call

  • _a0 *util.PaginationOpts

Jump to

Keyboard shortcuts

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