switch from Excel to GeoJSON upstream data source

Fetch station data from regieessencequebec.ca/stations.geojson.gz
instead of the Excel file whose URL changed with every update,
causing persistent 404 errors. Add 5-minute in-memory cache.
Drop excelize dependency — now stdlib-only.
This commit is contained in:
Polen 2026-04-02 11:27:09 -04:00
parent 06ead18b38
commit 7715f7b92b
3 changed files with 136 additions and 136 deletions

13
go.mod
View file

@ -1,16 +1,3 @@
module github.com/polen/essence
go 1.26.1
require github.com/xuri/excelize/v2 v2.10.1
require (
github.com/richardlehane/mscfb v1.0.6 // indirect
github.com/richardlehane/msoleps v1.0.6 // indirect
github.com/tiendc/go-deepcopy v1.7.2 // indirect
github.com/xuri/efp v0.0.1 // indirect
github.com/xuri/nfp v0.0.2-0.20250530014748-2ddeb826f9a9 // indirect
golang.org/x/crypto v0.48.0 // indirect
golang.org/x/net v0.50.0 // indirect
golang.org/x/text v0.34.0 // indirect
)