ginuerzh / gost

GO Simple Tunnel - a simple tunnel written in golang
MIT License
15.45k stars 2.42k forks source link

build github.com/ginuerzh/gost/cmd/gost: cannot load io/fs: malformed module path "io/fs": missing dot in first path element #1000

Open kgggggb opened 6 months ago

kgggggb commented 6 months ago

build github.com/ginuerzh/gost/cmd/gost: cannot load io/fs: malformed module path "io/fs": missing dot in first path element

Ref 1

Tried:

apt -y --purge autoremove golang wget https://go.dev/dl/go1.21.5.linux-amd64.tar.gz rm -rf /usr/local/go && tar -C /usr/local -xzf go1.21.5.linux-amd64.tar.gz export PATH=$PATH:/usr/local/go/bin go mod tidy go build

/root/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