Meteo.lt API library for go.
go get github.com/PauliusLozys/meteolt
import (
"context"
"log"
"github.com/PauliusLozys/meteolt"
)
func main() {
forecast, err := meteolt.GetWeatherForecast(context.Background(), "kaunas", meteolt.ForecastTypeLongTerm)
if err != nil {
log.Fatal(err)
}
log.Println(forecast.Place.Name)
}
Separate CLI tool which displays weather forecasts in a table format .