mirror of
https://github.com/p1neappleXpress/OpenFlux.git
synced 2026-10-02 05:04:39 +08:00
13 lines
140 B
Go
13 lines
140 B
Go
//go:build windows
|
|
|
|
package main
|
|
|
|
import (
|
|
"os"
|
|
"os/signal"
|
|
)
|
|
|
|
func notifySignals(ch chan os.Signal) {
|
|
signal.Notify(ch, os.Interrupt)
|
|
}
|