1 2 3 4 5 6 7 8 9 10 11 12 13 14
// +build !darwin,!linux,!windows package gateway import ( "fmt" "net" "runtime" ) func DiscoverGateway() (ip net.IP, err error) { err = fmt.Errorf("DiscoverGateway not implemented for OS %s", runtime.GOOS) return }