Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Account ¶
type Account struct { Name string // parser type, inherited from account name if unset Type string // folder path from root, inherited from account name if unset Path string // default user, inherited from config.Pfin.User if unset DefaultUser string `toml:"user"` // map of users to card identifier Users map[string][]string // generated Cards map[string]string }
type Config ¶
type Config struct { Pfin struct { User string Root string } // the map is nice in the toml config, but not that nice for usability Account map[string]Account Accounts []string }
func ParseConfig ¶
ParseConfig will use default config location if path is empty
type ErrUnregisteredParser ¶
type ErrUnregisteredParser struct {
// contains filtered or unexported fields
}
func (ErrUnregisteredParser) Error ¶
func (e ErrUnregisteredParser) Error() string
Click to show internal directories.
Click to hide internal directories.