Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockScannable ¶
MockScannable is an autogenerated mock type for the Scannable type
func NewMockScannable ¶
func NewMockScannable(t interface {
mock.TestingT
Cleanup(func())
}) *MockScannable
NewMockScannable creates a new instance of MockScannable. 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 (*MockScannable) EXPECT ¶
func (_m *MockScannable) EXPECT() *MockScannable_Expecter
func (*MockScannable) Scan ¶
func (_mock *MockScannable) Scan(dest ...any) error
Scan provides a mock function for the type MockScannable
type MockScannable_Expecter ¶
type MockScannable_Expecter struct {
// contains filtered or unexported fields
}
func (*MockScannable_Expecter) Scan ¶
func (_e *MockScannable_Expecter) Scan(dest ...any) *MockScannable_Scan_Call
Scan is a helper method to define mock.On call
- dest ...any
type MockScannable_Scan_Call ¶
MockScannable_Scan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Scan'
func (*MockScannable_Scan_Call) Return ¶
func (_c *MockScannable_Scan_Call) Return(err error) *MockScannable_Scan_Call
func (*MockScannable_Scan_Call) Run ¶
func (_c *MockScannable_Scan_Call) Run(run func(dest ...any)) *MockScannable_Scan_Call
func (*MockScannable_Scan_Call) RunAndReturn ¶
func (_c *MockScannable_Scan_Call) RunAndReturn(run func(dest ...any) error) *MockScannable_Scan_Call
Click to show internal directories.
Click to hide internal directories.