defer defer 会在当前函数返回前执行传入的函数,它会经常被用于关闭文件描述符、关闭数据库连接以及解锁资源 相关资料 深入理解defer Doc navigation← [] rune 和 [] byte 区别iota → Was this article helpful to you? Yes No How can we help? Name Email subject message