Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conf ¶
type Conf struct {
JournalsFolder string `yaml:"journalsfolder"`
Pages map[string]bool `yaml:"pages"`
CheckForUpdates bool `yaml:"checkforupdates"`
Loglevel string `json:"loglevel" yaml:"loglevel"`
}
Conf is the app config
func LoadOrCreateConf ¶
LoadOrCreateConf loads the config from the given path, or creates a default one if missing.
func (Conf) ExpandJournalFolderPath ¶
ExpandJournalFolderPath expands any env variables in the journal folder path.
Click to show internal directories.
Click to hide internal directories.