From 86209d10af17b392fa125dde9c1a397264de003c Mon Sep 17 00:00:00 2001 From: Artem Date: Fri, 27 Mar 2020 22:34:09 +0000 Subject: [PATCH] errors: removed excessive debug statements --- api.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/api.go b/api.go index 78de164..4314e59 100644 --- a/api.go +++ b/api.go @@ -33,14 +33,12 @@ func (b *Bot) Raw(method string, payload interface{}) ([]byte, error) { defer resp.Body.Close() json, err := ioutil.ReadAll(resp.Body) - fmt.Println(string(json)) data := apiErrorRx.FindStringSubmatch(string(json)) if err != nil { return []byte{}, wrapSystem(err) } if data == nil { - fmt.Printf("ok!\n") return json, nil }