From b6392e74cec7ee7458f6ece7fa45ef1e4c6933d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96zg=C3=BCr=20Kesim?= Date: Wed, 22 Nov 2017 19:32:26 -0800 Subject: [PATCH] removed shadowing local variable --- main.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/main.go b/main.go index 1b53ecd..9bf538f 100644 --- a/main.go +++ b/main.go @@ -138,8 +138,6 @@ func (t Tool) index() func(http.ResponseWriter, *http.Request) { } func main() { - var tools = []Tool{} - flag.Parse() if cfg, err := os.Open(*config); err != nil {