package
module
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Jan 15, 2022
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Install
go get github.com/joshuaslate/iif
Usage
iiifile, err := os.Open("./transactions.iif")
if err != nil {
panic("failed to open transactions iif file")
}
defer iiifile.Close()
iifData, err := iif.FromFile(file)
if err != nil {
panic("invalid iif file")
}
Documentation
¶
Entry contains the key ("TRNS", "SPL", etc.), raw row data, and sub entries as applicable (splits, in the case of transactions)
FromFile accepts a tab-delimited Intuit Interchange Format (.IIF) file as input and parses it into a slice of Entry if valid
Source Files
¶
Click to show internal directories.
Click to hide internal directories.