Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Maps from posting account name to matches PostingAccount map[string][]Replace }
Config encapsulates replacements for each posting account
func ParseYamlConfig ¶
ParseYamlConfig reads a configuration from a yaml file
type Replace ¶
type Replace struct { // Treat it as a match if we see this as a substring in a comment Comment string // Change the payee to this Payee string // Treated as a go template. We replace the posting that is // associated with the account with this posting or postings. Posting string }
Replace describes a comment substring match and the associated transformations if the transaction matches.
Click to show internal directories.
Click to hide internal directories.