chore: use gofumpt for code formatting

This commit is contained in:
Quentin McGaw
2024-10-11 19:20:48 +00:00
parent 3daf15a612
commit 76a4bb5dc3
289 changed files with 784 additions and 548 deletions

View File

@@ -10,7 +10,8 @@ import (
type hostToServers map[string][]models.Server
func (hts hostToServers) addOpenVPN(host, region, country, city,
retroLoc string, tcp, udp bool) {
retroLoc string, tcp, udp bool,
) {
// Check for existing server for this host and OpenVPN.
servers := hts[host]
for i, existingServer := range servers {
@@ -43,7 +44,8 @@ func (hts hostToServers) addOpenVPN(host, region, country, city,
}
func (hts hostToServers) addWireguard(host, region, country, city, retroLoc,
wgPubKey string) {
wgPubKey string,
) {
// Check for existing server for this host and Wireguard.
servers := hts[host]
for _, existingServer := range servers {