☰
Debian Codegraph
@
0.16.1+git20260209.fcb76d1-2
0.16.1+git20260209.fcb76d1-1
/
/
_test
/
method29.go
☽
☼
_test/method29.go
code
plain
raw
symbols
SCIP
Apache-2.0
2019 Containous SAS; 2020 Traefik Labs SAS
debian/copyright
1
package
main
2
3
import
(
4
"context"
5
"net"
6
)
7
8
var
lookupHost = net.
DefaultResolver
.
LookupHost
9
10
func
main() {
11
res, err := lookupHost(context.
Background
(),
"localhost"
)
12
println(len(res) >
0
, err ==
nil
)
13
}
14
15
// Output:
16
// true true