summaryrefslogtreecommitdiffstats
path: root/main.go
Commit message (Collapse)AuthorAgeFilesLines
* search: move search stuff to its own packagesiddharth ravikumar2022-06-121-44/+2
|
* weather: update NewWeathersiddharth ravikumar2022-06-121-10/+2
| | | | | Change arguments to just `lat`, `lng`. Make this function call NWS directly.
* move "weather" stuff to its own packagesiddharth ravikumar2022-06-121-95/+2
|
* main: update `showWeather`siddharth ravikumar2022-06-071-17/+6
| | | | Use `nws.GetForecastBundle`.
* peach: add `/version` endpointsiddharth ravikumar2022-06-051-0/+4
|
* peach: update peachFSsiddharth ravikumar2022-06-051-1/+1
| | | | Don't include un-minified css
* peach: update commentssiddharth ravikumar2022-06-041-10/+10
|
* peach: update commentssiddharth ravikumar2022-06-041-5/+5
|
* peach: update Weathersiddharth ravikumar2022-06-031-4/+0
| | | | Remove Period field.
* peach: update NewWeathersiddharth ravikumar2022-06-031-3/+3
| | | | Just do the bidaily forecast for the next 3 days instead of 5.
* peach: update Weathersiddharth ravikumar2022-06-031-12/+33
| | | | Add bidaily timeline.
* main.go: update logRequestsiddharth ravikumar2022-06-021-1/+5
|
* peach: add loggingsiddharth ravikumar2022-06-021-0/+10
|
* peach: update static file servingsiddharth ravikumar2022-05-291-3/+17
| | | | Add Cache-Control header for static files.
* nws: remove "NWS" from typessiddharth ravikumar2022-05-291-3/+3
| | | | | | | Also rename: - `Forecast` function to `GetForecast`. - `ForecastHourly` function to `GetForecastHourly`.
* peach: add handling for /searchsiddharth ravikumar2022-05-281-0/+65
| | | | Initial version.
* peach: update Weathersiddharth ravikumar2022-05-281-0/+2
| | | | Add a Title field.
* update name in copyrightsiddharth ravikumar2022-05-281-1/+1
| | | | Use full name.
* template: update weather templatesiddharth2022-05-231-1/+1
| | | | update structure and styling.
* templates: update weather templatesiddharth2022-05-221-2/+3
|
* peach: update commentssiddharth2022-05-221-2/+2
| | | | make 'em lowercase.
* peach: update commentssiddharth2022-05-221-4/+5
| | | | make 'em all lowercase.
* peach: update url path lat,lng matchingsiddharth2022-05-221-1/+1
| | | | make it more strict.
* peach: update commentssiddharth2022-05-221-4/+4
| | | | lowercase everything.
* peach: implement lat,lng routingsiddharth2022-05-221-2/+24
|
* html -> templatessiddharth2022-05-221-3/+3
|
* main: allow listening on custom portsiddharth2022-05-221-1/+16
|
* peach: flesh out bare bonessiddharth2022-05-211-1/+134
|
* add version.gosiddharth2022-04-231-2/+0
|
* add main.gosiddharth2022-04-231-0/+8