Skip to content

Commit

Permalink
feat. golang支持>=1.20(target 1.22)
Browse files Browse the repository at this point in the history
  • Loading branch information
xrz-cloud committed Jun 14, 2024
1 parent 0bbaca5 commit d686696
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ paru -S cloudflarewarpspeedtest-bin
```

#### Go Install
use go tool to install(go version <= 1.20)
use go tool to install(go version recommend 1.22)

```bash
go install github.com/peanut996/CloudflareWarpSpeedTest@latest
Expand Down
2 changes: 1 addition & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ paru -S cloudflarewarpspeedtest-bin
```

#### Go Install
使用go官方工具链安装(go版本<=1.20)
使用go官方工具链安装(go版本推荐1.22)

```bash
go install github.com/peanut996/CloudflareWarpSpeedTest@latest
Expand Down
5 changes: 2 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ go 1.20
require (
github.com/cheggaaa/pb/v3 v3.1.4
golang.zx2c4.com/wireguard v0.0.0-20231211153847-12269c276173
golang.org/x/text v0.14.0
golang.org/x/crypto v0.13.0
)

require golang.org/x/text v0.14.0

require (
github.com/BurntSushi/toml v1.4.0
github.com/VividCortex/ewma v1.2.0 // indirect
Expand All @@ -19,7 +19,6 @@ require (
github.com/mattn/go-runewidth v0.0.14 // indirect
github.com/nicksnyder/go-i18n/v2 v2.4.0
github.com/rivo/uniseg v0.2.0 // indirect
golang.org/x/crypto v0.13.0
golang.org/x/net v0.15.0 // indirect
golang.org/x/sys v0.12.0 // indirect
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 // indirect
Expand Down
1 change: 1 addition & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,6 @@ golang.zx2c4.com/wintun v0.0.0-20230126152724-0fa3db229ce2/go.mod h1:deeaetjYA+D
golang.zx2c4.com/wireguard v0.0.0-20231211153847-12269c276173 h1:/jFs0duh4rdb8uIfPMv78iAJGcPKDeqAFnaLBropIC4=
golang.zx2c4.com/wireguard v0.0.0-20231211153847-12269c276173/go.mod h1:tkCQ4FQXmpAgYVh++1cq16/dH4QJtmvpRv19DWGAHSA=
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gvisor.dev/gvisor v0.0.0-20230927004350-cbd86285d259 h1:TbRPT0HtzFP3Cno1zZo7yPzEEnfu8EjLfl6IU9VfqkQ=
gvisor.dev/gvisor v0.0.0-20230927004350-cbd86285d259/go.mod h1:AVgIgHMwK63XvmAzWG9vLQ41YnVHN0du0tEC46fI7yY=

0 comments on commit d686696

Please sign in to comment.