Remove extraneous statement

This commit is contained in:
Andrew Scott 2022-09-03 00:43:43 -04:00
parent 2908823e6c
commit dacfa2f285
Signed by: a
GPG key ID: 3EB62D0BBB8DB381

View file

@ -2,7 +2,6 @@ package main
import (
"encoding/json"
"fmt"
"io/ioutil"
"log"
"net/http"
@ -22,7 +21,7 @@ func getCurrent(app *Application) {
log.Printf("Error getting current forecast: %v", err)
}
defer res.Body.Close()
fmt.Println(res.Body)
body, err := ioutil.ReadAll(res.Body)
if err != nil {
log.Printf("Error reading response from server: %v\n", err)