From 3cd912219e3fefe5d5b3b6ecf0c44bb2a3dbd1cf Mon Sep 17 00:00:00 2001 From: spiritsoul <97792170+spiritysdx@users.noreply.github.com> Date: Sat, 5 Oct 2024 23:26:09 +0800 Subject: [PATCH] =?UTF-8?q?v0.0.77=20=E4=B8=B4=E6=97=B6=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=B5=8B=E9=80=9FBUG=EF=BC=8C=E6=9C=AA=E5=AE=8C=E5=85=A8?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit v0.0.77 临时修复测速BUG,未完全修复 --- go.mod | 2 +- go.sum | 4 ++-- goecs.go | 2 +- utils/utils.go | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index d13c510..c8647d2 100644 --- a/go.mod +++ b/go.mod @@ -17,7 +17,7 @@ require ( github.com/oneclickvirt/pingtest v0.0.5-20240804134050 github.com/oneclickvirt/portchecker v0.0.2-20240803151204 github.com/oneclickvirt/security v0.0.4-20240729065854 - github.com/oneclickvirt/speedtest v0.0.7-20240704023701 + github.com/oneclickvirt/speedtest v0.0.8-20241005152305 ) require ( diff --git a/go.sum b/go.sum index 0cbc9b4..4c83fd8 100644 --- a/go.sum +++ b/go.sum @@ -128,8 +128,8 @@ github.com/oneclickvirt/portchecker v0.0.2-20240803151204 h1:ZruxRgyIv3d6Y8n0Ney github.com/oneclickvirt/portchecker v0.0.2-20240803151204/go.mod h1:HQxSTrqM8/QFqHMTBZ7S8H9eEO5FkUXU1eb7ZX5Mk+k= github.com/oneclickvirt/security v0.0.4-20240729065854 h1:I27XtMUEHmXw1RN0jNDQmFqNdu6vL4v1g8UZtXiCuBY= github.com/oneclickvirt/security v0.0.4-20240729065854/go.mod h1:384ZpNE3H6T6rtl0QhA4eQn8xGw7tc0rLD8ZH47qNGc= -github.com/oneclickvirt/speedtest v0.0.7-20240704023701 h1:F8ChZXf3U1/bUk+dCFt0Gc01LSPLhbBhCeHjkEJ6K88= -github.com/oneclickvirt/speedtest v0.0.7-20240704023701/go.mod h1:zd5ZgIGslmtQLQehEfRjyumlvgDHTpCSMchKfKXoASI= +github.com/oneclickvirt/speedtest v0.0.8-20241005152305 h1:vSSTh0nnl2/v95NFfB32W+0tRsnNC5Fa0rp7wIom5hQ= +github.com/oneclickvirt/speedtest v0.0.8-20241005152305/go.mod h1:zd5ZgIGslmtQLQehEfRjyumlvgDHTpCSMchKfKXoASI= github.com/onsi/ginkgo/v2 v2.19.0 h1:9Cnnf7UHo57Hy3k6/m5k3dRfGTMXGvxhHFvkDTCTpvA= github.com/onsi/ginkgo/v2 v2.19.0/go.mod h1:rlwLi9PilAFJ8jCg9UE1QP6VBpd6/xj3SRC0d6TU0To= github.com/onsi/gomega v1.33.1 h1:dsYjIxxSR755MDmKVsaFQTE22ChNBcuuTWgkUDSubOk= diff --git a/goecs.go b/goecs.go index 9a4447c..246edcf 100644 --- a/goecs.go +++ b/goecs.go @@ -39,7 +39,7 @@ import ( ) var ( - ecsVersion = "v0.0.76" + ecsVersion = "v0.0.77" menuMode bool onlyChinaTest bool input, choice string diff --git a/utils/utils.go b/utils/utils.go index a4ba752..925e5de 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -328,6 +328,6 @@ func ProcessAndUpload(output string, filePath string, enableUplaod bool) { fmt.Println(err3.Error()) return } - fmt.Printf("Upload successful!\nHttp URL:%s\nHttps URL:%s\n", http_url, https_url) + fmt.Printf("Upload successful!\nHttp URL: %s\nHttps URL: %s\n", http_url, https_url) } }