You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
synctv/internal/conf/global.go

12 lines
264 B
Go

package conf
type GlobalConfig struct {
GitHubBaseURL string `yaml:"github_base_url" lc:"default: https://api.github.com/" env:"GITHUB_BASE_URL"`
}
func DefaultGlobalConfig() GlobalConfig {
return GlobalConfig{
GitHubBaseURL: "https://api.github.com/",
}
}