- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestIsIPv4Address (0.12 sec)
-
pkg/util/net/ip_test.go
t.Run(tt.name, func(t *testing.T) { if got := IsIPv6Address(tt.args.ip); got != tt.want { t.Errorf("IsIPv6Address() = %v, want %v", got, tt.want) } }) } } func TestIsIPv4Address(t *testing.T) { type args struct { ip string } tests := []struct { name string args args want bool }{ { name: "test is a ipv4 address", args: args{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 01 14:41:40 UTC 2024 - 8.7K bytes - Viewed (0)