fix:修复错误的格式化字符

This commit is contained in:
spiritlhl
2026-01-13 19:35:39 +08:00
committed by GitHub
parent eaad433395
commit 3b646eeeda

View File

@@ -56,8 +56,8 @@ func printTableRow(result pst.SpeedTestResult) {
}
location = fmt.Sprintf("%s%s", carrier, result.City)
}
if len(location) > 14 {
location = location[:14] + "..."
if len(location) > 15 {
location = location[:15]
}
upload := "N/A"
if result.UploadMbps > 0 {