summaryrefslogtreecommitdiffstats
path: root/weather/weather.go
Commit message (Collapse)AuthorAgeFilesLines
* weather: update `humidity`siddharth ravikumar2022-08-131-10/+9
| | | | | - Change return type to just (int). - Add check to skip a value if it's < 1.
* weather: update `NewWeather`siddharth ravikumar2022-08-071-0/+8
| | | | Add humidity.
* weather: add `humidity`siddharth ravikumar2022-08-071-0/+17
|
* weather: update `NewWeather`siddharth ravikumar2022-06-181-0/+5
| | | | Add handling to skip duplicate alerts.
* weather: update `Alert`siddharth ravikumar2022-06-181-5/+4
| | | | Change type of `Description` and `Instruction` to `[]string`.
* weather: update `NewWeather`siddharth ravikumar2022-06-181-0/+22
| | | | Add alerts.
* weather: update `Weather`siddharth ravikumar2022-06-121-0/+3
| | | | | Add `SearchEnabled` field. Used to determined weather to render a link to the search or not.
* weather: update NewWeathersiddharth ravikumar2022-06-121-12/+17
| | | | | Change arguments to just `lat`, `lng`. Make this function call NWS directly.
* move "weather" stuff to its own packagesiddharth ravikumar2022-06-121-0/+106