Documentation ¶
Index ¶
- func CreateManualAccount(input []string) *omoney.Account
- func CreateManualTransaction(input []string) *omoney.Transaction
- func LoadModel(dataDir string) (*omoney.Model, error)
- func ParseTokensToFlags(tokens []string, flagMap map[string]int) (map[string][]string, error)
- func ReadCsv(filepath string, existingAccounts map[string]string) []*omoney.Transaction
- func Save(model *omoney.Model) error
- type LinkTmplData
- type Linker
- type LogLevel
- type OLogger
- type OView
- type OViewPlain
- func (v *OViewPlain) ShowAccount(acc omoney.Account)
- func (v *OViewPlain) ShowAccounts(accounts []omoney.Account, ops ...ShowAccountOptions)
- func (v *OViewPlain) ShowPlaidAccount(account plaid.AccountBase)
- func (v *OViewPlain) ShowPlaidAccounts(accounts []plaid.AccountBase)
- func (v *OViewPlain) ShowTransaction(tr omoney.Transaction, ops ...ShowTransactionOptions)
- func (v *OViewPlain) ShowTransactions(trs []*omoney.Transaction, invert bool, startIndex int)
- type ShowAccountOptions
- type ShowTransactionOptions
- type TokenPair
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateManualAccount ¶
func CreateManualTransaction ¶
func CreateManualTransaction(input []string) *omoney.Transaction
func ParseTokensToFlags ¶
format of flagMap is {<flag>: <number of arguments for flag>}
Types ¶
type LinkTmplData ¶
type LinkTmplData struct {
LinkToken string
}
type Linker ¶
type OView ¶
type OView interface { ShowAccount(account plaid.AccountBase) ShowAccounts(accounts []plaid.AccountBase) }
type OViewPlain ¶
type OViewPlain struct {
// contains filtered or unexported fields
}
func NewOViewPlain ¶
func NewOViewPlain(enableColor bool) *OViewPlain
func (*OViewPlain) ShowAccount ¶
func (v *OViewPlain) ShowAccount(acc omoney.Account)
func (*OViewPlain) ShowAccounts ¶
func (v *OViewPlain) ShowAccounts(accounts []omoney.Account, ops ...ShowAccountOptions)
func (*OViewPlain) ShowPlaidAccount ¶
func (v *OViewPlain) ShowPlaidAccount(account plaid.AccountBase)
func (*OViewPlain) ShowPlaidAccounts ¶
func (v *OViewPlain) ShowPlaidAccounts(accounts []plaid.AccountBase)
func (*OViewPlain) ShowTransaction ¶
func (v *OViewPlain) ShowTransaction(tr omoney.Transaction, ops ...ShowTransactionOptions)
func (*OViewPlain) ShowTransactions ¶
func (v *OViewPlain) ShowTransactions(trs []*omoney.Transaction, invert bool, startIndex int)
type ShowAccountOptions ¶
type ShowTransactionOptions ¶
Click to show internal directories.
Click to hide internal directories.