Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func Initialize ¶
func Initialize(cfg Config)
Types ¶
type Config ¶
type Config struct { // The symbols that the user wants to look at FlagSymbols []string `env:"FLAG_SYMBOLS" env-required:"true"` // Cutoff duration for how old a flag can be before we complain about it Cutoff time.Duration `env:"CUTOFF" env-required:"true"` // Log level to log at LogLevel LogLevel `env:"LOG_LEVEL" env-default:"info"` // Path to the git repo. Defaults to the current directory. RepoPath string `env:"REPO_PATH" env-default:"."` }
Click to show internal directories.
Click to hide internal directories.