mirror of https://github.com/synctv-org/synctv
Feat: Refine the init process
parent
51235aae70
commit
6af3409727
@ -0,0 +1,5 @@
|
|||||||
|
package flags
|
||||||
|
|
||||||
|
var (
|
||||||
|
DisableUpdateCheck bool
|
||||||
|
)
|
@ -1,11 +0,0 @@
|
|||||||
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/",
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue