feat: add func GetIps and GetMacAddrs

This commit is contained in:
dudaodong committed 2022-02-15 17:38:09 +08:00
1 parent c965e79bfc
commit 40c2402493
2 files changed
+50

No files matched your search

+10
View File
@@ -42,3 +42,13 @@ func TestIsPublicIP(t *testing.T) {
assert.Equal(expected[i], actual)
}
}
func TestGetIps(t *testing.T) {
ips := GetIps()
t.Log(ips)
}
func TestGetMacAddrs(t *testing.T) {
macAddrs := GetMacAddrs()
t.Log(macAddrs)
}