1 2 3 4 5 6 7 8 9 10 11 12
// +build go1.1,!windows package liner import ( "os" "os/signal" ) func stopSignal(c chan<- os.Signal) { signal.Stop(c) }