1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-12 16:52:29 +08:00

feat: add func GetIps and GetMacAddrs

This commit is contained in:
dudaodong
2022-02-15 17:38:09 +08:00
parent c965e79bfc
commit 40c2402493
2 changed files with 50 additions and 0 deletions

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)
}