互联网运维 firewalld –permanent 添加规则后 reboot 失效的 firewall-cmd –reload 坑 firewalld –permanent 规则 reboot 后消失,主因是未执行 firewal […]
后端开发 Golang错误处理最佳实践_为什么不推荐使用Panic代替Error 应避免用 panic 处理预期错误,它会终止 goroutine 且难以恢复;error 支持包装、传播与分类 […]...