Golang之defer的错误用法

不要在循环内部使用defer语句,他可能不会执行

posted @ 2021-02-18 12:21  pangqianjin  阅读(82)  评论(0编辑  收藏  举报