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.
Package mock_parser is a generated GoMock package.
Index ¶
- type MockCsvInterface
- func (m *MockCsvInterface) EXPECT() *MockCsvInterfaceMockRecorder
- func (m *MockCsvInterface) Marshal(orig any) ([]byte, error)
- func (m *MockCsvInterface) MarshalWithoutHeaders(orig any) ([]byte, error)
- func (m *MockCsvInterface) SetOptionsRead(opt parser.CsvOptions)
- func (m *MockCsvInterface) SetOptionsWrite(opt parser.CsvOptions)
- func (m *MockCsvInterface) Unmarshal(blob []byte, dest any) error
- type MockCsvInterfaceMockRecorder
- func (mr *MockCsvInterfaceMockRecorder) Marshal(orig any) *gomock.Call
- func (mr *MockCsvInterfaceMockRecorder) MarshalWithoutHeaders(orig any) *gomock.Call
- func (mr *MockCsvInterfaceMockRecorder) SetOptionsRead(opt any) *gomock.Call
- func (mr *MockCsvInterfaceMockRecorder) SetOptionsWrite(opt any) *gomock.Call
- func (mr *MockCsvInterfaceMockRecorder) Unmarshal(blob, dest any) *gomock.Call
- type MockExcelInterface
- func (m *MockExcelInterface) EXPECT() *MockExcelInterfaceMockRecorder
- func (m *MockExcelInterface) InjectValue(ctx context.Context, blob []byte, sheetName string, values map[string]any) ([]byte, error)
- func (m *MockExcelInterface) Marshal(ctx context.Context, input []parser.ExcelInput, pathToFile string) error
- func (m *MockExcelInterface) Unmarshal(ctx context.Context, blob []byte) ([]map[string]string, error)
- func (m *MockExcelInterface) UnmarshalTransform(ctx context.Context, blob []byte, t parser.Transformer) (parser.ExcelResult, error)
- func (m *MockExcelInterface) UnmarshalTransformMultipleSheet(ctx context.Context, blob []byte, opt parser.ExcelOption) (map[string]parser.ExcelResult, error)
- func (m *MockExcelInterface) UnmarshalTransformMultipleSheetV2(ctx context.Context, blob []byte, opt parser.ExcelOption) (map[string]parser.ExcelResult, error)
- func (m *MockExcelInterface) UnmarshalTransformV2(ctx context.Context, blob []byte, t parser.Transformer) (parser.ExcelResult, error)
- func (m *MockExcelInterface) UnmarshalTransformYAxis(ctx context.Context, blob []byte, t parser.Transformer) (parser.ExcelResult, error)
- func (m *MockExcelInterface) UnmarshalWithAxis(ctx context.Context, blob []byte, t parser.Transformer) (parser.ExcelResult, error)
- func (m *MockExcelInterface) Validate(ctx context.Context, blob []byte, t parser.Transformer) error
- func (m *MockExcelInterface) WriteReader(ctx context.Context, blob []byte, ioReader io.Writer) error
- type MockExcelInterfaceMockRecorder
- func (mr *MockExcelInterfaceMockRecorder) InjectValue(ctx, blob, sheetName, values any) *gomock.Call
- func (mr *MockExcelInterfaceMockRecorder) Marshal(ctx, input, pathToFile any) *gomock.Call
- func (mr *MockExcelInterfaceMockRecorder) Unmarshal(ctx, blob any) *gomock.Call
- func (mr *MockExcelInterfaceMockRecorder) UnmarshalTransform(ctx, blob, t any) *gomock.Call
- func (mr *MockExcelInterfaceMockRecorder) UnmarshalTransformMultipleSheet(ctx, blob, opt any) *gomock.Call
- func (mr *MockExcelInterfaceMockRecorder) UnmarshalTransformMultipleSheetV2(ctx, blob, opt any) *gomock.Call
- func (mr *MockExcelInterfaceMockRecorder) UnmarshalTransformV2(ctx, blob, t any) *gomock.Call
- func (mr *MockExcelInterfaceMockRecorder) UnmarshalTransformYAxis(ctx, blob, t any) *gomock.Call
- func (mr *MockExcelInterfaceMockRecorder) UnmarshalWithAxis(ctx, blob, t any) *gomock.Call
- func (mr *MockExcelInterfaceMockRecorder) Validate(ctx, blob, t any) *gomock.Call
- func (mr *MockExcelInterfaceMockRecorder) WriteReader(ctx, blob, ioReader any) *gomock.Call
- type MockJsonInterface
- func (m *MockJsonInterface) EXPECT() *MockJsonInterfaceMockRecorder
- func (m *MockJsonInterface) Marshal(orig any) ([]byte, error)
- func (m *MockJsonInterface) MarshalWithSchemaValidation(sch string, orig any) ([]byte, error)
- func (m *MockJsonInterface) Unmarshal(blob []byte, dest any) error
- func (m *MockJsonInterface) UnmarshalWithSchemaValidation(sch string, blob []byte, dest any) error
- type MockJsonInterfaceMockRecorder
- func (mr *MockJsonInterfaceMockRecorder) Marshal(orig any) *gomock.Call
- func (mr *MockJsonInterfaceMockRecorder) MarshalWithSchemaValidation(sch, orig any) *gomock.Call
- func (mr *MockJsonInterfaceMockRecorder) Unmarshal(blob, dest any) *gomock.Call
- func (mr *MockJsonInterfaceMockRecorder) UnmarshalWithSchemaValidation(sch, blob, dest any) *gomock.Call
- type MockParser
- type MockParserMockRecorder
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 ¶
func (m *MockCsvInterface) EXPECT() *MockCsvInterfaceMockRecorder
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.
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.
type MockExcelInterface ¶
type MockExcelInterface struct {
// contains filtered or unexported fields
}
MockExcelInterface is a mock of ExcelInterface interface.
func NewMockExcelInterface ¶
func NewMockExcelInterface(ctrl *gomock.Controller) *MockExcelInterface
NewMockExcelInterface creates a new mock instance.
func (*MockExcelInterface) EXPECT ¶
func (m *MockExcelInterface) EXPECT() *MockExcelInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExcelInterface) InjectValue ¶
func (m *MockExcelInterface) InjectValue(ctx context.Context, blob []byte, sheetName string, values map[string]any) ([]byte, error)
InjectValue mocks base method.
func (*MockExcelInterface) Marshal ¶
func (m *MockExcelInterface) Marshal(ctx context.Context, input []parser.ExcelInput, pathToFile string) error
Marshal mocks base method.
func (*MockExcelInterface) Unmarshal ¶
func (m *MockExcelInterface) Unmarshal(ctx context.Context, blob []byte) ([]map[string]string, error)
Unmarshal mocks base method.
func (*MockExcelInterface) UnmarshalTransform ¶
func (m *MockExcelInterface) UnmarshalTransform(ctx context.Context, blob []byte, t parser.Transformer) (parser.ExcelResult, error)
UnmarshalTransform mocks base method.
func (*MockExcelInterface) UnmarshalTransformMultipleSheet ¶
func (m *MockExcelInterface) UnmarshalTransformMultipleSheet(ctx context.Context, blob []byte, opt parser.ExcelOption) (map[string]parser.ExcelResult, error)
UnmarshalTransformMultipleSheet mocks base method.
func (*MockExcelInterface) UnmarshalTransformMultipleSheetV2 ¶
func (m *MockExcelInterface) UnmarshalTransformMultipleSheetV2(ctx context.Context, blob []byte, opt parser.ExcelOption) (map[string]parser.ExcelResult, error)
UnmarshalTransformMultipleSheetV2 mocks base method.
func (*MockExcelInterface) UnmarshalTransformV2 ¶
func (m *MockExcelInterface) UnmarshalTransformV2(ctx context.Context, blob []byte, t parser.Transformer) (parser.ExcelResult, error)
UnmarshalTransformV2 mocks base method.
func (*MockExcelInterface) UnmarshalTransformYAxis ¶
func (m *MockExcelInterface) UnmarshalTransformYAxis(ctx context.Context, blob []byte, t parser.Transformer) (parser.ExcelResult, error)
UnmarshalTransformYAxis mocks base method.
func (*MockExcelInterface) UnmarshalWithAxis ¶
func (m *MockExcelInterface) UnmarshalWithAxis(ctx context.Context, blob []byte, t parser.Transformer) (parser.ExcelResult, error)
UnmarshalWithAxis mocks base method.
func (*MockExcelInterface) Validate ¶
func (m *MockExcelInterface) Validate(ctx context.Context, blob []byte, t parser.Transformer) error
Validate mocks base method.
func (*MockExcelInterface) WriteReader ¶
func (m *MockExcelInterface) WriteReader(ctx context.Context, blob []byte, ioReader io.Writer) error
WriteReader mocks base method.
type MockExcelInterfaceMockRecorder ¶
type MockExcelInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockExcelInterfaceMockRecorder is the mock recorder for MockExcelInterface.
func (*MockExcelInterfaceMockRecorder) InjectValue ¶
func (mr *MockExcelInterfaceMockRecorder) InjectValue(ctx, blob, sheetName, values any) *gomock.Call
InjectValue indicates an expected call of InjectValue.
func (*MockExcelInterfaceMockRecorder) Marshal ¶
func (mr *MockExcelInterfaceMockRecorder) Marshal(ctx, input, pathToFile any) *gomock.Call
Marshal indicates an expected call of Marshal.
func (*MockExcelInterfaceMockRecorder) Unmarshal ¶
func (mr *MockExcelInterfaceMockRecorder) Unmarshal(ctx, blob any) *gomock.Call
Unmarshal indicates an expected call of Unmarshal.
func (*MockExcelInterfaceMockRecorder) UnmarshalTransform ¶
func (mr *MockExcelInterfaceMockRecorder) UnmarshalTransform(ctx, blob, t any) *gomock.Call
UnmarshalTransform indicates an expected call of UnmarshalTransform.
func (*MockExcelInterfaceMockRecorder) UnmarshalTransformMultipleSheet ¶
func (mr *MockExcelInterfaceMockRecorder) UnmarshalTransformMultipleSheet(ctx, blob, opt any) *gomock.Call
UnmarshalTransformMultipleSheet indicates an expected call of UnmarshalTransformMultipleSheet.
func (*MockExcelInterfaceMockRecorder) UnmarshalTransformMultipleSheetV2 ¶
func (mr *MockExcelInterfaceMockRecorder) UnmarshalTransformMultipleSheetV2(ctx, blob, opt any) *gomock.Call
UnmarshalTransformMultipleSheetV2 indicates an expected call of UnmarshalTransformMultipleSheetV2.
func (*MockExcelInterfaceMockRecorder) UnmarshalTransformV2 ¶
func (mr *MockExcelInterfaceMockRecorder) UnmarshalTransformV2(ctx, blob, t any) *gomock.Call
UnmarshalTransformV2 indicates an expected call of UnmarshalTransformV2.
func (*MockExcelInterfaceMockRecorder) UnmarshalTransformYAxis ¶
func (mr *MockExcelInterfaceMockRecorder) UnmarshalTransformYAxis(ctx, blob, t any) *gomock.Call
UnmarshalTransformYAxis indicates an expected call of UnmarshalTransformYAxis.
func (*MockExcelInterfaceMockRecorder) UnmarshalWithAxis ¶
func (mr *MockExcelInterfaceMockRecorder) UnmarshalWithAxis(ctx, blob, t any) *gomock.Call
UnmarshalWithAxis indicates an expected call of UnmarshalWithAxis.
func (*MockExcelInterfaceMockRecorder) Validate ¶
func (mr *MockExcelInterfaceMockRecorder) Validate(ctx, blob, t any) *gomock.Call
Validate indicates an expected call of Validate.
func (*MockExcelInterfaceMockRecorder) WriteReader ¶
func (mr *MockExcelInterfaceMockRecorder) WriteReader(ctx, blob, ioReader any) *gomock.Call
WriteReader indicates an expected call of WriteReader.
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 ¶
func (m *MockJsonInterface) EXPECT() *MockJsonInterfaceMockRecorder
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.
type MockParser ¶
type MockParser struct {
// contains filtered or unexported fields
}
MockParser is a mock of Parser interface.
func NewMockParser ¶
func NewMockParser(ctrl *gomock.Controller) *MockParser
NewMockParser creates a new mock instance.
func (*MockParser) CsvParser ¶
func (m *MockParser) CsvParser() parser.CsvInterface
CsvParser mocks base method.
func (*MockParser) EXPECT ¶
func (m *MockParser) EXPECT() *MockParserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockParser) ExcelParser ¶
func (m *MockParser) ExcelParser() parser.ExcelInterface
ExcelParser mocks base method.
func (*MockParser) JsonParser ¶
func (m *MockParser) JsonParser() parser.JsonInterface
JsonParser mocks base method.
type MockParserMockRecorder ¶
type MockParserMockRecorder struct {
// contains filtered or unexported fields
}
MockParserMockRecorder is the mock recorder for MockParser.
func (*MockParserMockRecorder) CsvParser ¶
func (mr *MockParserMockRecorder) CsvParser() *gomock.Call
CsvParser indicates an expected call of CsvParser.
func (*MockParserMockRecorder) ExcelParser ¶
func (mr *MockParserMockRecorder) ExcelParser() *gomock.Call
ExcelParser indicates an expected call of ExcelParser.
func (*MockParserMockRecorder) JsonParser ¶
func (mr *MockParserMockRecorder) JsonParser() *gomock.Call
JsonParser indicates an expected call of JsonParser.