diff --git a/home/config.go b/home/config.go index 332552f5..079a9298 100644 --- a/home/config.go +++ b/home/config.go @@ -150,7 +150,6 @@ type tlsConfig struct { } // initialize to default values, will be changed later when reading config or parsing command line -// TODO: Get rid of global variables var config = configuration{ ourConfigFilename: "AdGuardHome.yaml", BindPort: 3000, diff --git a/home/home.go b/home/home.go index 81d4f0cc..4d711559 100644 --- a/home/home.go +++ b/home/home.go @@ -39,7 +39,7 @@ var ( const versionCheckPeriod = time.Hour * 8 -// main is the entry point +// Main is the entry point func Main(version string, channel string) { // Init update-related global variables versionString = version