removed shadowing local variable

This commit is contained in:
Özgür Kesim 2017-11-22 19:32:26 -08:00
parent b333ed97cf
commit b6392e74ce

View File

@ -138,8 +138,6 @@ func (t Tool) index() func(http.ResponseWriter, *http.Request) {
} }
func main() { func main() {
var tools = []Tool{}
flag.Parse() flag.Parse()
if cfg, err := os.Open(*config); err != nil { if cfg, err := os.Open(*config); err != nil {