fix: honor global flag --debug

Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
This commit is contained in:
pancho horrillo
2020-12-15 18:59:29 +01:00
co-authored by Roberto Abdelkader Martínez Pérez
parent 58fae53e2e
commit 4546fc65b6
7 changed files with 80 additions and 42 deletions
+2
View File
@@ -42,4 +42,6 @@ type Route struct {
// Index is this route position in the server's routes list.
// It is an output field, its value is ignored as input.
Index int `json:"index"`
Debug bool `json:"debug"`
}