fix: address code review findings
This commit is contained in:
1 parent
2cf9e20608
commit
48650d96cf
4 files changed
+31
-11
No files matched your search
Vendored
-7
@@ -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"`
|
||||
|
||||
Reference in new issue
Block a user