update
continuous-integration/drone/push Build is passing Details

master
李光春 2 years ago
parent f0f3088bc6
commit 85f39b11f7

@ -7,12 +7,6 @@ import (
var app App
func TestOnlineDownload(t *testing.T) {
//t.Log(app.V4db.OnlineDownload()) // 在线下载ipv4数据库
//t.Log(app.V6db.OnlineDownload()) // 在线下载ipv6数据库
//t.Log(app.V4Region.OnlineDownload()) // 在线下载ip2region数据库
}
func TestIp(t *testing.T) {
app.InitIPData()
t.Logf("%+v", net.ParseIP("61.241.55.180").To4())

@ -5,6 +5,6 @@ import "testing"
func TestIpIp(t *testing.T) {
t.Log("GetOutsideIp", GetOutsideIp())
t.Log("GetInsideIp", GetInsideIp())
t.Log(Ips())
t.Log("GetMacAddr", GetMacAddr())
t.Log(Ips())
}

Loading…
Cancel
Save