Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupConfig ¶
func SetupConfig() error
SetupConfig fills all default values, reads the config and/or writes the default config.
Types ¶
type Key ¶
type Key string
Key represents a config key
const ( DaysUntilStale Key = "daysUntilStale" DaysUntilClose Key = "daysUntilClose" LabelBlacklist Key = "onlyLabels" LabelWhitelist Key = "exemptLabels" StaleLabel Key = "staleLabel" MarkComment Key = "markComment" UnmarkComment Key = "unmarkComment" CloseComment Key = "closeComment" TypeBlacklist Key = "only" BaseURL Key = "host" GiteaURL Key = "gitea.url" GiteaClientID Key = "gitea.client_id" GiteaClientSecret Key = "gitea.client_secret" SessionSecret Key = "session_secret" DatabasePath Key = "./database_path" )
This block contains all config keys
Click to show internal directories.
Click to hide internal directories.