Commit Graph

3 Commits

Author SHA1 Message Date
6dcec6a7a5 fix: address code review findings
- Fix type mismatch in search_cache.go: SearchWithCache now returns *yandex.Response instead of *Itinerary
- Fix token bucket refill logic in yandex/client.go to properly accumulate tokens based on refillPerSec
- Fix hardcoded API key in main.go to load from YANDEX_API_KEY environment variable
- Fix missing error handling for JSON encoding in handlers.go RouteGeoJSON function
- Fix incorrect redis.Nil handling in cache/store.go CacheAside.Exists method
- Fix incorrect error return type in station_status.go updateStationStatus to return newStatus instead of empty string
2026-08-17 22:42:08 +03:00
82757665e9 fix: address code review findings 2026-08-17 20:34:17 +03:00
0bba23692c feat: Full test suite and linter - increased coverage to 61.7%, fixed test failures 2026-08-17 17:06:50 +03:00