forked from joejulian/gio
060ae1cdf9
They're automatically added by Go 1.17 source formatters. This change adds them all now. Signed-off-by: Elias Naur <mail@eliasnaur.com>
20 lines
299 B
Go
20 lines
299 B
Go
// SPDX-License-Identifier: Unlicense OR MIT
|
|
|
|
//go:build !go1.14
|
|
// +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)
|
|
}
|