removed Println on api query
This commit is contained in:
parent
0a64a2100a
commit
7176c0a968
@ -63,7 +63,6 @@ func FetchData(wc *WeatherConfig, city string) (Data, error) {
|
|||||||
}}
|
}}
|
||||||
|
|
||||||
q := fmt.Sprintf("https://api.openweathermap.org/data/2.5/weather?q=%s&appid=%s&units=metric", city, wc.WeatherAppID)
|
q := fmt.Sprintf("https://api.openweathermap.org/data/2.5/weather?q=%s&appid=%s&units=metric", city, wc.WeatherAppID)
|
||||||
fmt.Println(q)
|
|
||||||
|
|
||||||
r, err := c.Get(q)
|
r, err := c.Get(q)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user