- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ExampleIP_IsUnspecified (0.14 sec)
-
src/net/example_test.go
fmt.Println(ipv6Public.IsPrivate()) fmt.Println(ipv4Private.IsPrivate()) fmt.Println(ipv4Public.IsPrivate()) // Output: // true // false // true // false } func ExampleIP_IsUnspecified() { ipv6Unspecified := net.ParseIP("::") ipv6Specified := net.ParseIP("fe00::") ipv4Unspecified := net.ParseIP("0.0.0.0") ipv4Specified := net.ParseIP("8.8.8.8")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 13 16:36:59 UTC 2021 - 8.5K bytes - Viewed (0)