diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 42a12b3..3564c16 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -27,7 +27,7 @@ jobs: run: | git config --global user.name 'github-actions' git config --global user.email 'github-actions@github.com' - TAG="v0.0.7-$(date +'%Y%m%d%H%M%S')" + TAG="v0.0.8-$(date +'%Y%m%d%H%M%S')" git tag $TAG git push origin $TAG echo "TAG=$TAG" >> $GITHUB_ENV diff --git a/README.md b/README.md index 00a6eee..e912860 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ - [x] 使用[nexttrace](https://github.com/nxtrace/NTrace-core)进行ICMP测试,预先加载定义好的广州、上海、北京、成都的三网地址 - [x] 支持双语输出,以```-l```指定```zh```或```en```可指定输出的语言,未指定时默认使用中文输出 - [x] 全平台编译支持(除了WIN) +- [x] 默认启用并发测试,单地点三网测试至多需要1~2分钟 ## 使用 diff --git a/cmd/main.go b/cmd/main.go index 938646d..6845feb 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -16,7 +16,6 @@ func main() { http.Get("https://hits.spiritlhl.net/nt3.svg?action=hit&title=Hits&title_bg=%23555555&count_bg=%230eecf8&edge_flat=false") }() fmt.Println("Repo:", "https://github.com/oneclickvirt/nt3") - var showVersion, help bool var language, checkType, location string nt3Flag := flag.NewFlagSet("nt3", flag.ContinueOnError) @@ -27,7 +26,6 @@ func main() { nt3Flag.StringVar(&location, "loc", "GZ", "Specify location (supports GZ, BJ, SH, CD, ALL; corresponding to Guangzhou, Beijing, Shanghai, Chengdu and All)") nt3Flag.BoolVar(&model.EnableLoger, "log", false, "Enable logging") nt3Flag.Parse(os.Args[1:]) - if help { fmt.Printf("Usage: %s [options]\n", os.Args[0]) nt3Flag.PrintDefaults() diff --git a/model/model.go b/model/model.go index 30431bd..032f0b1 100644 --- a/model/model.go +++ b/model/model.go @@ -20,7 +20,7 @@ type ParamsFastTrace struct { DontFragment bool } -var NextTraceVersion = "v0.0.7" +var NextTraceVersion = "v0.0.8" var EnableLoger = false