Documentation ¶
Index ¶
- Variables
- type Fields
- type Parser
- type Raw
- type Transaction
- func (tx Transaction) Account() string
- func (tx Transaction) Amount() float64
- func (tx Transaction) Card() string
- func (tx Transaction) Category() string
- func (tx Transaction) Date() time.Time
- func (tx Transaction) Name() string
- func (tx Transaction) String() string
- func (tx Transaction) User() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SelectorTxRow = cascadia.MustCompile(".transaction-row.mobile") SelectorTxDesc = cascadia.MustCompile("td > div > div.body > div.top > div.description") SelectorTxAmount = cascadia.MustCompile("td > div > div.body > div.top > div.amount") SelectorTxDetails = cascadia.MustCompile("td.transaction-details-cell > div.transaction-details-wrapper > div.extended-descriptions > div.extended-description-row") )
Functions ¶
This section is empty.
Types ¶
type Transaction ¶
type Transaction struct { Fields // computed fields, namespaced so they don't conflict with the interface methods Raw // raw fields from the csv }
func TxFromHTML ¶
func TxFromHTML(n *html.Node) (tx Transaction, err error)
func (Transaction) Account ¶
func (tx Transaction) Account() string
func (Transaction) Amount ¶
func (tx Transaction) Amount() float64
func (Transaction) Card ¶
func (tx Transaction) Card() string
func (Transaction) Category ¶
func (tx Transaction) Category() string
func (Transaction) Date ¶
func (tx Transaction) Date() time.Time
func (Transaction) Name ¶
func (tx Transaction) Name() string
func (Transaction) User ¶
func (tx Transaction) User() string
Click to show internal directories.
Click to hide internal directories.