From b8444ff46aff5e45194c6cb61fdf4d3e7aa798fa Mon Sep 17 00:00:00 2001 From: Simon Zolin Date: Tue, 9 Jul 2019 18:52:18 +0300 Subject: [PATCH] * minor --- home/config.go | 1 - home/home.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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