<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>错误诊断 on Tony Bai</title><link>https://tonybai.com/tags/%E9%94%99%E8%AF%AF%E8%AF%8A%E6%96%AD/</link><description>Recent content in 错误诊断 on Tony Bai</description><generator>Hugo</generator><language>zh-cn</language><copyright>2004-2026 Tony Bai. 版权所有.</copyright><lastBuildDate>Sat, 21 Mar 2026 00:00:00 +0800</lastBuildDate><atom:link href="https://tonybai.com/tags/%E9%94%99%E8%AF%AF%E8%AF%8A%E6%96%AD/index.xml" rel="self" type="application/rss+xml"/><item><title>你的 Go 报错信息正在“出卖”你！扒一扒大厂是如何做错误隔离与日志脱敏的</title><link>https://tonybai.com/2026/03/21/best-practices-for-secure-error-handling-in-go/</link><pubDate>Sat, 21 Mar 2026 00:00:00 +0800</pubDate><guid>https://tonybai.com/2026/03/21/best-practices-for-secure-error-handling-in-go/</guid><description>本文永久链接 – https://tonybai.com/2026/03/21/best-practices-for-secure-error-handling-in-go 大家好，我是Tony Bai。 如果要在 Go 语言里选一句被敲击次数最多的代码，if err != nil { return err } 绝对毫无悬念地霸榜第一。 初学 Go 时，我们总觉得这种显式的错误处理极其啰嗦。但随着...</description></item></channel></rss>