使用 channel 进行阻塞
quit := make(chan int) go func(){ // 业务 close(quit) }() <-quit
上一篇:Mysql用户认证的原理是什么
下一篇:mysql 中怎么优化变量