mock_parser

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 17, 2026 License: MIT Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mock_parser is a generated GoMock package.

Package mock_parser is a generated GoMock package.

Package mock_parser is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCsvInterface

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

MockCsvInterface is a mock of CsvInterface interface.

func NewMockCsvInterface

func NewMockCsvInterface(ctrl *gomock.Controller) *MockCsvInterface

NewMockCsvInterface creates a new mock instance.

func (*MockCsvInterface) EXPECT

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

func (*MockCsvInterface) Marshal

func (m *MockCsvInterface) Marshal(orig any) ([]byte, error)

Marshal mocks base method.

func (*MockCsvInterface) MarshalWithoutHeaders

func (m *MockCsvInterface) MarshalWithoutHeaders(orig any) ([]byte, error)

MarshalWithoutHeaders mocks base method.

func (*MockCsvInterface) SetOptionsRead

func (m *MockCsvInterface) SetOptionsRead(opt parser.CsvOptions)

SetOptionsRead mocks base method.

func (*MockCsvInterface) SetOptionsWrite

func (m *MockCsvInterface) SetOptionsWrite(opt parser.CsvOptions)

SetOptionsWrite mocks base method.

func (*MockCsvInterface) Unmarshal

func (m *MockCsvInterface) Unmarshal(blob []byte, dest any) error

Unmarshal mocks base method.

type MockCsvInterfaceMockRecorder

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

MockCsvInterfaceMockRecorder is the mock recorder for MockCsvInterface.

func (*MockCsvInterfaceMockRecorder) Marshal

func (mr *MockCsvInterfaceMockRecorder) Marshal(orig any) *gomock.Call

Marshal indicates an expected call of Marshal.

func (*MockCsvInterfaceMockRecorder) MarshalWithoutHeaders

func (mr *MockCsvInterfaceMockRecorder) MarshalWithoutHeaders(orig any) *gomock.Call

MarshalWithoutHeaders indicates an expected call of MarshalWithoutHeaders.

func (*MockCsvInterfaceMockRecorder) SetOptionsRead

func (mr *MockCsvInterfaceMockRecorder) SetOptionsRead(opt any) *gomock.Call

SetOptionsRead indicates an expected call of SetOptionsRead.

func (*MockCsvInterfaceMockRecorder) SetOptionsWrite

func (mr *MockCsvInterfaceMockRecorder) SetOptionsWrite(opt any) *gomock.Call

SetOptionsWrite indicates an expected call of SetOptionsWrite.

func (*MockCsvInterfaceMockRecorder) Unmarshal

func (mr *MockCsvInterfaceMockRecorder) Unmarshal(blob, dest any) *gomock.Call

Unmarshal indicates an expected call of Unmarshal.

type MockInterface added in v1.0.0

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

MockInterface is a mock of Interface interface.

func NewMockInterface added in v1.0.0

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) CsvParser added in v1.0.0

func (m *MockInterface) CsvParser() parser.CsvInterface

CsvParser mocks base method.

func (*MockInterface) EXPECT added in v1.0.0

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

func (*MockInterface) JsonParser added in v1.0.0

func (m *MockInterface) JsonParser() parser.JsonInterface

JsonParser mocks base method.

type MockInterfaceMockRecorder added in v1.0.0

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) CsvParser added in v1.0.0

func (mr *MockInterfaceMockRecorder) CsvParser() *gomock.Call

CsvParser indicates an expected call of CsvParser.

func (*MockInterfaceMockRecorder) JsonParser added in v1.0.0

func (mr *MockInterfaceMockRecorder) JsonParser() *gomock.Call

JsonParser indicates an expected call of JsonParser.

type MockJsonInterface

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

MockJsonInterface is a mock of JsonInterface interface.

func NewMockJsonInterface

func NewMockJsonInterface(ctrl *gomock.Controller) *MockJsonInterface

NewMockJsonInterface creates a new mock instance.

func (*MockJsonInterface) EXPECT

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

func (*MockJsonInterface) Marshal

func (m *MockJsonInterface) Marshal(orig any) ([]byte, error)

Marshal mocks base method.

func (*MockJsonInterface) MarshalWithSchemaValidation

func (m *MockJsonInterface) MarshalWithSchemaValidation(sch string, orig any) ([]byte, error)

MarshalWithSchemaValidation mocks base method.

func (*MockJsonInterface) Unmarshal

func (m *MockJsonInterface) Unmarshal(blob []byte, dest any) error

Unmarshal mocks base method.

func (*MockJsonInterface) UnmarshalWithSchemaValidation

func (m *MockJsonInterface) UnmarshalWithSchemaValidation(sch string, blob []byte, dest any) error

UnmarshalWithSchemaValidation mocks base method.

type MockJsonInterfaceMockRecorder

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

MockJsonInterfaceMockRecorder is the mock recorder for MockJsonInterface.

func (*MockJsonInterfaceMockRecorder) Marshal

func (mr *MockJsonInterfaceMockRecorder) Marshal(orig any) *gomock.Call

Marshal indicates an expected call of Marshal.

func (*MockJsonInterfaceMockRecorder) MarshalWithSchemaValidation

func (mr *MockJsonInterfaceMockRecorder) MarshalWithSchemaValidation(sch, orig any) *gomock.Call

MarshalWithSchemaValidation indicates an expected call of MarshalWithSchemaValidation.

func (*MockJsonInterfaceMockRecorder) Unmarshal

func (mr *MockJsonInterfaceMockRecorder) Unmarshal(blob, dest any) *gomock.Call

Unmarshal indicates an expected call of Unmarshal.

func (*MockJsonInterfaceMockRecorder) UnmarshalWithSchemaValidation

func (mr *MockJsonInterfaceMockRecorder) UnmarshalWithSchemaValidation(sch, blob, dest any) *gomock.Call

UnmarshalWithSchemaValidation indicates an expected call of UnmarshalWithSchemaValidation.

Jump to

Keyboard shortcuts

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