fix: 修复文本生成

This commit is contained in:
spiritlhl committed 2025-08-01 13:41:56 +00:00
1 parent 4d5b3fd5cb
commit a36c3eff82
2 files changed
+9 -5

No files matched your search

+1 -4
View File
@@ -13,8 +13,5 @@ func TestGetPoPInfo(t *testing.T) {
}
fmt.Printf("目标 ASN: %s\n", result.TargetASN)
fmt.Println("上游信息:")
for _, u := range result.Upstreams {
abbr := getISPAbbr(u.ASN, u.Name)
fmt.Printf("AS%s - %s [%s]\n", u.ASN, abbr, u.Type)
}
fmt.Print(result.Result)
}