diff --git a/http.go b/http.go index df9805e..89e3bf3 100644 --- a/http.go +++ b/http.go @@ -17,7 +17,7 @@ func (f *Forge) HttpPost(url string, data []byte) ([]byte, error) { var req *http.Request req, err = http.NewRequest(http.MethodPost, url, bytes.NewBuffer(data)) - log.Info("httpPost() with len", len(data), "url", url) + // log.Info("httpPost() with len", len(data), "url", url) usr, _ := user.Current() req.Header.Set("author", usr.Username) @@ -35,7 +35,7 @@ func (f *Forge) HttpPost(url string, data []byte) ([]byte, error) { return []byte("client.Do(req) error"), err } defer resp.Body.Close() - log.Info("httpPost() with len", len(data)) + // log.Info("httpPost() with len", len(data)) body, err := ioutil.ReadAll(resp.Body) if err != nil {