ginuerzh / gost

GO Simple Tunnel - a simple tunnel written in golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gost build error by the latest golang

imajinyun opened this issue · comments

hi, I'm build the gost command occurred error by the latest golang, how to fix it?

➜ go version
go version go1.21.6 darwin/amd64
➜ gost git:(master) ✗ go build
# github.com/quic-go/quic-go/internal/qtls
/Users/xxx/.go/pkg/mod/github.com/quic-go/quic-go@v0.32.0/internal/qtls/go121.go:5:13: cannot use "The version of quic-go you're using can't be built on Go 1.21 yet. For more details, please see https://github.com/quic-go/quic-go/wiki/quic-go-and-Go-versions." (untyped string constant "The version of quic-go you're using can't be built on Go 1.21 yet. F...) as int value in variable declaration