blob: e478c88b30358670118fbbf3cdfb29a7cc55bbf1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Copyright 2022 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Default netGo to true if the netgo build tag is being used, or the
// C library DNS routines are not available. Note that the C library
// routines are always available on Darwin and Windows.
//go:build netgo || (!cgo && !darwin && !windows)
package net
func init() { netGo = true }
|