mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-09 20:29:23 +02:00
14 lines
225 B
Go
14 lines
225 B
Go
package perfectprivacy
|
|
|
|
import (
|
|
"sort"
|
|
|
|
"github.com/qdm12/gluetun/internal/models"
|
|
)
|
|
|
|
func sortServers(servers []models.Server) {
|
|
sort.Slice(servers, func(i, j int) bool {
|
|
return servers[i].City < servers[j].City
|
|
})
|
|
}
|