/usr/share/gocode/src/github.com/peterh/liner/signal_legacy.go is in golang-github-peterh-liner-dev 0.0~git20151118.0.4d47685-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | // +build !go1.1,!windows
package liner
import (
"os"
)
func stopSignal(c chan<- os.Signal) {
// signal.Stop does not exist before Go 1.1
}
|