package starnet import ( "fmt" "testing" "time" ) func Test_Ping(t *testing.T) { fmt.Println(Ping("baidu.com", 0, time.Second*2)) }