- 使用 fmt.Fprintf 替代冗余的 WriteString(fmt.Sprintf) 组合 - 测试中 nil 检查使用 t.Fatal 替代 t.Error 立即终止 - .gitignore 添加 html/ 目录忽略 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- 使用 fmt.Fprintf 替代冗余的 WriteString(fmt.Sprintf) 组合 - 测试中 nil 检查使用 t.Fatal 替代 t.Error 立即终止 - .gitignore 添加 html/ 目录忽略 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>