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

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