github.com/axw/llgo@v0.0.0-20160805011314-95b5fe4dca20/third_party/gofrontend/libgo/go/net/conf_netcgo.go (about) 1 // Copyright 2015 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // +build netcgo 6 7 package net 8 9 /* 10 11 // Fail if cgo isn't available. 12 13 */ 14 15 // The build tag "netcgo" forces use of the cgo DNS resolver. 16 // It is the opposite of "netgo". 17 func init() { netCgo = true }