This commit is contained in:
spiritlhl
2024-05-04 08:17:38 +00:00
parent 81df379022
commit 52bb9b9db6
23 changed files with 1409 additions and 0 deletions

14
network/network_test.go Normal file
View File

@@ -0,0 +1,14 @@
package network
import (
"fmt"
"testing"
)
func TestIpv4SecurityCheck(t *testing.T) {
// 全项测试
ipInfo, _, _ := NetworkCheck("both", false, "zh")
fmt.Println("--------------------------------------------------")
fmt.Printf(ipInfo)
fmt.Println("--------------------------------------------------")
}