A simple command-line weather application written in Go that fetches current weather information for a city.
- Search weather by city
- View temperature
- View weather condition
- View humidity
- View wind speed
- Go installed
- Internet connection
- OpenWeather API key
go run ./cmd/weather-cli "Cape Town"
City: Cape Town Temperature: 20.5°C Condition: Clear Description: clear sky Humidity: 64% Wind Speed: 4.5 m/s
Create a .env file in the project root:
OPENWEATHER_API_KEY=your_api_key_here
