mirror of
https://github.com/oneclickvirt/backtrace.git
synced 2026-11-24 23:39:41 +08:00
fix: 修复文本生成
This commit is contained in:
1 parent
4d5b3fd5cb
commit
a36c3eff82
2 files changed
+9
-5
No files matched your search
@@ -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)
|
||||
}
|
||||
Reference in new issue
Block a user