Documentation ¶
Overview ¶
Package mock_service is a generated GoMock package.
Package service contains the logic that retrieves the LFP data and constructs the CSV file
Index ¶
Constants ¶
const (
YYYYMMDD string = "2006-01-02"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockService) GetLFPCSV ¶
func (m *MockService) GetLFPCSV(reconciliationMetaData *models.ReconciliationMetaData) (models.CSV, error)
GetLFPCSV mocks base method
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService
func (*MockServiceMockRecorder) GetLFPCSV ¶
func (mr *MockServiceMockRecorder) GetLFPCSV(reconciliationMetaData interface{}) *gomock.Call
GetLFPCSV indicates an expected call of GetLFPCSV
type Service ¶
type Service interface {
GetLFPCSV(reconciliationMetaData *models.ReconciliationMetaData) (models.CSV, error)
}
Service provides functionality by which to fetch lfp error CSV's
type ServiceImpl ¶
ServiceImpl provides a concrete implementation of the Service interface
func New ¶
func New(cfg *config.Config) *ServiceImpl
New returns a new, concrete implementation of the Service interface
func (*ServiceImpl) GetLFPCSV ¶
func (s *ServiceImpl) GetLFPCSV(reconciliationMetaData *models.ReconciliationMetaData) (models.CSV, error)
GetLFPCSV retrieves lfp data and constructs a CSV