debuggin debug

This commit is contained in:
jackspirou 2015-11-20 19:47:12 -06:00
parent baf99f7c9e
commit 3bf814670c
1 changed files with 3 additions and 0 deletions

View File

@ -113,6 +113,9 @@ func main() {
}
defer resp.Body.Close()
fmt.Println(vargs.Debug)
fmt.Println(os.Getenv("DEBUG"))
if vargs.Debug || os.Getenv("DEBUG") == "true" {
body, err := ioutil.ReadAll(resp.Body)