debuggin debug
This commit is contained in:
parent
baf99f7c9e
commit
3bf814670c
3
main.go
3
main.go
|
@ -113,6 +113,9 @@ func main() {
|
||||||
}
|
}
|
||||||
defer resp.Body.Close()
|
defer resp.Body.Close()
|
||||||
|
|
||||||
|
fmt.Println(vargs.Debug)
|
||||||
|
fmt.Println(os.Getenv("DEBUG"))
|
||||||
|
|
||||||
if vargs.Debug || os.Getenv("DEBUG") == "true" {
|
if vargs.Debug || os.Getenv("DEBUG") == "true" {
|
||||||
|
|
||||||
body, err := ioutil.ReadAll(resp.Body)
|
body, err := ioutil.ReadAll(resp.Body)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user