Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Finder ¶
type Finder struct { // # days to use when looking for matches. 0 means only look for matches on exactly the same day Days int // contains filtered or unexported fields }
Finder tracks postings and looks for potential duplicates, based on the amount and the date.
func (*Finder) Add ¶
func (f *Finder) Add(t *ledgertools.Transaction)
Add adds t and its postings and tracks any existing postings that have the same amount and are within the configured number of days.
func (*Finder) WriteCheckStyle ¶
WriteCheckStyle writes checkstyle (xml) output for all duplicates found.
Click to show internal directories.
Click to hide internal directories.