- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestCgoLookupIP (3.31 sec)
-
src/net/cgo_unix_test.go
// license that can be found in the LICENSE file. //go:build !netgo && ((cgo && unix) || darwin) package net import ( "context" "testing" ) func TestCgoLookupIP(t *testing.T) { defer dnsWaitGroup.Wait() ctx := context.Background() _, err := cgoLookupIP(ctx, "ip", "localhost") if err != nil { t.Error(err) } } func TestCgoLookupIPWithCancel(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 04 16:28:59 UTC 2023 - 1.4K bytes - Viewed (0)