Documentation ¶
Overview ¶
Package qfx provides processing of QFX files
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QFXLoader ¶
type QFXLoader struct { // Store stores which fitIds, unique identifier in QFX files, // have already been processed. Store qfxdb.Store }
QFXLoader implements the autoimport.Loader interface for QFX files.
type QfxBatch ¶
type QfxBatch struct { // Stores the fitIds of imported transactions. Store qfxdb.Store // The account ID to where entries in this batch will be imported AccountId int64 // The entries to be imported along with their fitIds QfxEntries []*QfxEntry }
QfxBatch implements the autoimport.Batch interface. Although it was written for QFX files, it can be reused for any import file type as long as each transaction has a unique ID like the fitId in QFX files. QfxBatch instances must be treated as immutable.
func (*QfxBatch) MarkProcessed ¶
func (q *QfxBatch) MarkProcessed(t db.Transaction) error
func (*QfxBatch) SkipProcessed ¶
func (q *QfxBatch) SkipProcessed(t db.Transaction) (autoimport.Batch, error)
Directories ¶
Path | Synopsis |
---|---|
Package qfxdb provides the data structures for storing which fitIds have been processed.
|
Package qfxdb provides the data structures for storing which fitIds have been processed. |
fixture
Package fixture provides test suites to test implementations of the qfxdb.Store interface.
|
Package fixture provides test suites to test implementations of the qfxdb.Store interface. |
for_sqlite
Package for_sqlite provides a sqlite implementation for storing processed QFX file fitIds.
|
Package for_sqlite provides a sqlite implementation for storing processed QFX file fitIds. |
Click to show internal directories.
Click to hide internal directories.