项目场景: golang 使用signal信号进行协程优雅的退出 问题描述: 现需要为signal 进行单元测试 func main() { sigs := make(chan os.Signal, 1) signal.Notify(sigs, sys