Some fixes suggested by golangci-lint

This commit is contained in:
Roberto Abdelkader Martínez Pérez
2019-10-07 08:53:48 +02:00
parent 7e54c26cb8
commit 47bd2be882
11 changed files with 86 additions and 49 deletions
-1
View File
@@ -8,7 +8,6 @@ import (
// ListRoutes queries the kapow! instance for the routes that are registered
func ListRoutes(host string, w io.Writer) error {
url := host + "/routes/"
return http.Get(url, "", nil, w)
}