[WIP] music platform user data scraper
teal-fm atproto

cleanup/lints

Changed files
+1 -15
models
service
apikey
-14
models/track.go
··· 17 17 HasStamped bool `json:"hasStamped"` 18 18 } 19 19 20 - type TrackWithArtistString struct { 21 - PlayID int64 `json:"playId"` 22 - Name string `json:"name"` 23 - Artist string `json:"artist"` 24 - Album string `json:"album"` 25 - URL string `json:"url"` 26 - Timestamp time.Time `json:"timestamp"` 27 - DurationMs int64 `json:"durationMs"` 28 - ProgressMs int64 `json:"progressMs"` 29 - ServiceBaseUrl string `json:"serviceBaseUrl"` 30 - ISRC string `json:"isrc"` 31 - HasStamped bool `json:"hasStamped"` 32 - } 33 - 34 20 type Artist struct { 35 21 Name string `json:"name"` 36 22 ID string `json:"id"`
+1 -1
service/apikey/apikey.go
··· 44 44 } 45 45 46 46 w.Header().Set("Content-Type", "application/json") 47 - json.NewEncoder(w).Encode(map[string]interface{}{ 47 + json.NewEncoder(w).Encode(map[string]any{ 48 48 "api_keys": keys, 49 49 }) 50 50 return