diff --git a/pkg/providers/urlscan/types.go b/pkg/providers/urlscan/types.go index 395650b..7249246 100644 --- a/pkg/providers/urlscan/types.go +++ b/pkg/providers/urlscan/types.go @@ -14,7 +14,7 @@ type apiResponse struct { type searchResult struct { Page archivedPage - Sort []interface{} `json:"sort"` + Sort []any `json:"sort"` } type archivedPage struct { @@ -24,7 +24,7 @@ type archivedPage struct { Status string `json:"status"` } -func parseSort(sort []interface{}) string { +func parseSort(sort []any) string { var sortParam []string for _, t := range sort { switch t.(type) {