diff --git a/fixed.go b/fixed.go index baff3ff..d5b5631 100644 --- a/fixed.go +++ b/fixed.go @@ -7,13 +7,13 @@ import ( type FixedDialer struct { fixedAddress string - next ContextDialer + next ContextDialer } func NewFixedDialer(address string, next ContextDialer) *FixedDialer { return &FixedDialer{ fixedAddress: address, - next: next, + next: next, } } diff --git a/main.go b/main.go index 84d4219..3c2f6b0 100644 --- a/main.go +++ b/main.go @@ -21,7 +21,7 @@ import ( ) const ( - API_DOMAIN = "api.sec-tunnel.com" + API_DOMAIN = "api.sec-tunnel.com" PROXY_SUFFIX = "sec-tunnel.com" ) @@ -74,8 +74,8 @@ func parse_args() CLIArgs { flag.StringVar(&args.apiAddress, "api-address", "", fmt.Sprintf("override IP address of %s", API_DOMAIN)) flag.StringVar(&args.bootstrapDNS, "bootstrap-dns", "", "DNS/DoH/DoT/DoQ resolver for initial discovering of SurfEasy API address. "+ - "See https://github.com/ameshkov/dnslookup/ for upstream DNS URL format. "+ - "Examples: https://1.1.1.1/dns-query, quic://dns.adguard.com") + "See https://github.com/ameshkov/dnslookup/ for upstream DNS URL format. "+ + "Examples: https://1.1.1.1/dns-query, quic://dns.adguard.com") flag.Parse() if args.country == "" { arg_fail("Country can't be empty string.")