fix: address code review findings
This commit is contained in:
7
internal/cache/preferences.go
vendored
7
internal/cache/preferences.go
vendored
@@ -6,13 +6,6 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
// PreferenceKey defines the structure for preference cache keys.
|
||||
type PreferenceKey struct {
|
||||
UserID string // user identifier
|
||||
Kind string // "saved_city" or "search_history"
|
||||
CityCode string // city code for saved_city
|
||||
}
|
||||
|
||||
// PreferenceSavedCity represents a user's saved city preference.
|
||||
type PreferenceSavedCity struct {
|
||||
CityCode string `json:"city_code"`
|
||||
|
||||
@@ -1038,8 +1038,6 @@ func SelectHubStations(stations []StationInfo, minOutgoingFlights int) []*Node {
|
||||
return hubs
|
||||
}
|
||||
|
||||
// getStationNeighbors returns neighboring stations for a given station ID in the same city.
|
||||
|
||||
// RouteStatus represents the current status of a route leg.
|
||||
type RouteStatus int32
|
||||
|
||||
|
||||
Reference in New Issue
Block a user