1
0
mirror of synced 2024-11-25 06:16:07 +03:00

Println clear

This commit is contained in:
Panich Maxim 2016-05-03 16:53:14 +03:00
parent eb0e72a5dc
commit 09dbfd4b26

View File

@ -112,8 +112,6 @@ func (r *Response) ButtonTemplate(text string, buttons *[]StructuredMessageButto
},
},
}
fmt.Println(m)
data, err := json.Marshal(m)
if err != nil {
@ -131,7 +129,6 @@ func (r *Response) ButtonTemplate(text string, buttons *[]StructuredMessageButto
client := &http.Client{}
resp, err := client.Do(req)
fmt.Println(resp)
defer resp.Body.Close()
return err
@ -151,8 +148,6 @@ func (r *Response) GenericTemplate(text string, elements *[]StructuredMessageEle
},
},
}
fmt.Println(m)
data, err := json.Marshal(m)
if err != nil {
@ -170,7 +165,6 @@ func (r *Response) GenericTemplate(text string, elements *[]StructuredMessageEle
client := &http.Client{}
resp, err := client.Do(req)
fmt.Println(resp)
defer resp.Body.Close()
return err