Closed kamilsk closed 7 years ago
c := make(chan os.Signal) signal.Notify(c, os.Interrupt)
provide a useful abstraction for that. use sync.Once to initialize it
done by e7612610f27c0babd097e568a9673bf11ce29c82