Maintenance: unique choices from hardcoded servers

This commit is contained in:
Quentin McGaw
2021-02-26 13:21:55 +00:00
parent a10c4056d0
commit 92bcef0b1c
11 changed files with 60 additions and 66 deletions

View File

@@ -18,7 +18,7 @@ func SurfsharkRegionChoices() (choices []string) {
for i := range servers {
choices[i] = servers[i].Region
}
return choices
return makeUnique(choices)
}
//nolint:lll