Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IgnoredTransaction ¶
IgnoredTransaction represent a transaction without valid format, that was ignored
type MovementType ¶
type MovementType string
MovementType groups the valid types of movements
const ( Credit MovementType = "credit" Debit MovementType = "debit" )
type Notification ¶
Notification contains necessary data to send notifications, for example, Summary notifications via mail
type SuccessReport ¶
type SuccessReport struct { FileName string Date time.Time Summary Summary SendTo []string Transactions []Transaction IgnoredTransaction []IgnoredTransaction }
type Transaction ¶
type Transaction struct { Number int Date time.Time Movement MovementType Value float32 }
Transaction represent a formatted transaction, with its type of movement and value separate
Click to show internal directories.
Click to hide internal directories.