mirror of
https://github.com/oneclickvirt/basics.git
synced 2025-10-09 18:40:20 +08:00
update
This commit is contained in:
14
network/network_test.go
Normal file
14
network/network_test.go
Normal 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("--------------------------------------------------")
|
||||
}
|
Reference in New Issue
Block a user