hi there,

I am building a couple of packages that somehow need to import "net" and
"net/http".
I'd like for the users of my packages to get, by default, a statically
linked binary.
I know about the "go build -tags netgo" technique but I'd prefer if one
didn't have to fiddle with those.

so... is there a way to make sure that 'import "net"' will by default
statically link? (using the pure-Go DNS resolver isn't an issue.)

is vendoring an option here?
has somebody already provided a drop-in replacement of "net" but with the
"netgo" build tag enabled by default ?

cheers,
-s

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to