package goip import ( "context" "testing" ) func TestGetOutsideIp(t *testing.T) { t.Log(GetOutsideIp(context.Background())) } func BenchmarkGetOutsideIp(b *testing.B) { for i := 0; i < b.N; i++ { b.Log(GetOutsideIp(context.Background())) } } func TestGetInsideIp(t *testing.T) { t.Log(GetInsideIp(context.Background())) } func BenchmarkGetInsideIp(b *testing.B) { for i := 0; i < b.N; i++ { b.Log(GetInsideIp(context.Background())) } } func TestGetMacAddr(t *testing.T) { t.Log(GetMacAddr(context.Background())) } func BenchmarkGetMacAddr(b *testing.B) { for i := 0; i < b.N; i++ { b.Log(GetMacAddr(context.Background())) } } func TestIps(t *testing.T) { t.Log(Ips(context.Background())) } func BenchmarkIps(b *testing.B) { for i := 0; i < b.N; i++ { b.Log(Ips(context.Background())) } }