使用 fmt.Fprintf 直接写入 buffer,替代 buf.WriteString(fmt.Sprintf(...)) 的冗余模式,代码更简洁高效。 Co-Authored-By: Claude <noreply@anthropic.com>
使用 fmt.Fprintf 直接写入 buffer,替代 buf.WriteString(fmt.Sprintf(...)) 的冗余模式,代码更简洁高效。 Co-Authored-By: Claude <noreply@anthropic.com>