Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ColumnFormat ¶
type ColumnFormat struct { ID int Date int Person int Memo int Value int Type int Balance int Label int Others []int }
Columns are 1-indexed; 0 means column not present
type Source ¶
type Source struct { SourceName string Columns ColumnFormat DateFormat string `yaml:"date_format"` HeaderRows int `yaml:"header_rows"` OrderDescending bool `yaml:"order_descending"` // called after the entry has been populated with defined columns // returns true if entry should be ignored PostProcessEntry func(*ledger.Entry, []string) error // generate unique ID for deduplication GenerateID func(ledger.Entry) string FileSearchPattern file.SearchPattern }
func (*Source) GetLedgerEntries ¶
Click to show internal directories.
Click to hide internal directories.