Like all the newbies this is my first project in Go.
Weather_At is a simple CLI tool that shows the weather at the location specified (default: Bengaluru) along with probability of rain. If there are chances or rain then the data is show in CYAN color. Interesting thing about Weather_At is that it can become your goto CLI tool, just build the binary and place it into /usr/local/bin and run command weather_at from anywhere in the terminal to get the latest data.
Clone the repo command
git cloneNow build the binary using command
go buildNow run the built binary
./weather_at
Bengaluru India: 30.0C, Clear
22:00 - 29.1C, 0.0% Clear
23:00 - 28.3C, 0.0% Clear ./weather_at Tokyo
Tokyo Japan: 13.4C, Partly cloudy
22:30 - 12.0C, 100.0% Moderate rain
23:30 - 12.0C, 100.0% Moderate rain
00:30 - 12.3C, 100.0% Light drizzlePlace the binary into /usr/local/bin to use the command weather_at anywhere using terminal.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.