mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-07 04:20:12 +02:00
d81d4bbda3
- Fixes #420 - Revert to docker/build-push-action@v2.4.0
15 lines
361 B
Go
15 lines
361 B
Go
package vpnunlimited
|
|
|
|
import "github.com/qdm12/gluetun/internal/models"
|
|
|
|
func Stringify(servers []models.VPNUnlimitedServer) (s string) {
|
|
s = "func VPNUnlimitedServers() []models.VPNUnlimitedServer {\n"
|
|
s += " return []models.VPNUnlimitedServer{\n"
|
|
for _, server := range servers {
|
|
s += " " + server.String() + ",\n"
|
|
}
|
|
s += " }\n"
|
|
s += "}"
|
|
return s
|
|
}
|