Documentation ¶ Index ¶ type Rule func NewCSVRule(account1, account2, comment string, conditions ...string) (Rule, error) type Rules func NewCSVRulesFromReader(reader io.Reader) (Rules, error) func (r Rules) Apply(txn *ledger.Transaction) func (r Rules) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Rule ¶ type Rule interface { Match(ledger.Transaction) bool Apply(*ledger.Transaction) } func NewCSVRule ¶ func NewCSVRule(account1, account2, comment string, conditions ...string) (Rule, error) type Rules ¶ type Rules []Rule func NewCSVRulesFromReader ¶ func NewCSVRulesFromReader(reader io.Reader) (Rules, error) func (Rules) Apply ¶ func (r Rules) Apply(txn *ledger.Transaction) func (Rules) String ¶ func (r Rules) String() string Source Files ¶ View all Source files hledger_csv.gorule.go Click to show internal directories. Click to hide internal directories.