mirror of
https://codeberg.org/andyscott/weather-cli.git
synced 2024-09-17 22:58:06 -04:00
Remove extraneous statement
This commit is contained in:
parent
2908823e6c
commit
dacfa2f285
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue