|
|
|
@ -27,7 +27,9 @@ func (weather *Weather) GetOutput() []string {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return strings.Split(weather.lastResponse, "\n")
|
|
|
|
|
parts := strings.Split(weather.lastResponse, "\n")
|
|
|
|
|
|
|
|
|
|
return parts[:len(parts)-5]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (weather *Weather) getWeather() (string, error) {
|
|
|
|
|