You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
280 B
Go
19 lines
280 B
Go
4 years ago
|
// SPDX-License-Identifier: Unlicense OR MIT
|
||
|
|
||
|
// +build !go1.14
|
||
|
|
||
|
// Work around golang.org/issue/33384, fixed in CL 191785,
|
||
|
// to be released in Go 1.14.
|
||
|
|
||
|
package app
|
||
|
|
||
|
import (
|
||
|
"os"
|
||
|
"os/signal"
|
||
|
"syscall"
|
||
|
)
|
||
|
|
||
|
func init() {
|
||
|
signal.Notify(make(chan os.Signal), syscall.SIGPIPE)
|
||
|
}
|