service

package
v0.0.0-...-2a243e4 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FinderMock

type FinderMock struct {
	mock.Mock
}

FinderMock implements file.IFinder

func (*FinderMock) GiveNextFileName

func (m *FinderMock) GiveNextFileName() (string, error)

func (*FinderMock) Relocate

func (m *FinderMock) Relocate(filePath string, date time.Time, newFolder file.Directory)

type ProcessMock

type ProcessMock struct {
	mock.Mock
}

ProcessMock implements file.IProcess

func (*ProcessMock) MakeSummary

func (m *ProcessMock) MakeSummary(transactions []domain.Transaction) domain.Summary

type ReaderMock

type ReaderMock struct {
	mock.Mock
}

ReaderMock implements file.IReader

func (*ReaderMock) ReadFile

func (m *ReaderMock) ReadFile(fileName string) ([]domain.Transaction, []domain.IgnoredTransaction, error)

type SenderMock

type SenderMock struct {
	mock.Mock
}

SenderMock implements notification.ISender

func (*SenderMock) SendSummaryNotification

func (m *SenderMock) SendSummaryNotification(summary domain.Summary, recipients []string) error

Jump to

Keyboard shortcuts

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