rename unix to darwin

This commit is contained in:
Cam Otts 2023-04-19 12:59:09 -05:00
parent 3b06dd6cf3
commit c8ca8f4174
No known key found for this signature in database
GPG Key ID: 367B7C7EBD84A8BD
2 changed files with 2 additions and 14 deletions

View File

@ -1,14 +0,0 @@
package main
import (
"os"
"os/signal"
"golang.org/x/sys/unix"
)
func newSignalHandler() chan os.Signal {
signalHandler := make(chan os.Signal, 1)
signal.Notify(signalHandler, unix.SIGINT, unix.SIGTERM, unix.SIGHUP, unix.SIGQUIT)
return signalHandler
}

View File

@ -1,3 +1,5 @@
//go:build unix
package main
import (