Skip to content

Commit b5d0fc6

Browse files
committed
fix spaces
1 parent f4b13c2 commit b5d0fc6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/util/net.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ import (
1010
"strings"
1111
)
1212

13-
//HostListBuiltinAll all hosts are matched
13+
// HostListBuiltinAll all hosts are matched
1414
const HostListBuiltinAll = "all"
1515

16-
//HostListBuiltinExternal A valid non-private unicast IP, all hosts on public internet are matched
16+
// HostListBuiltinExternal A valid non-private unicast IP, all hosts on public internet are matched
1717
const HostListBuiltinExternal = "external"
1818

19-
//HostListBuiltinPrivate RFC 1918 (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) and RFC 4193 (FC00::/7). Also called LAN/Intranet.
19+
// HostListBuiltinPrivate RFC 1918 (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) and RFC 4193 (FC00::/7). Also called LAN/Intranet.
2020
const HostListBuiltinPrivate = "private"
2121

22-
//HostListBuiltinLoopback 127.0.0.0/8 for IPv4 and ::1/128 for IPv6, localhost is included.
22+
// HostListBuiltinLoopback 127.0.0.0/8 for IPv4 and ::1/128 for IPv6, localhost is included.
2323
const HostListBuiltinLoopback = "loopback"
2424

2525
// IsIPPrivate for net.IP.IsPrivate. TODO: replace with `ip.IsPrivate()` if min go version is bumped to 1.17

0 commit comments

Comments
 (0)