From 6a64b38ba02e78b7ea8d97e91da22bc37527540b Mon Sep 17 00:00:00 2001 From: Vaibhav Ghadge Date: Sun, 3 Nov 2019 17:13:59 +0530 Subject: [PATCH] closed request body --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 3e69577..daa4c1d 100644 --- a/main.go +++ b/main.go @@ -52,7 +52,7 @@ func run() int { if err != nil { return printError(err) } - + defer resp.Body.Close() i, err = gui.UnMarshalJSON(resp.Body) if err != nil { return printError(err)