ginuerzh / gost

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

need quic-go upgrade to compile against go1.20 #926

Closed chenrui333 closed 1 year ago

chenrui333 commented 1 year ago

👋 needs to update quic-go so that it can compile against go1.20, otherwise it would have the following error:

# github.com/lucas-clemente/quic-go/internal/qtls
/Users/brew/Library/Caches/Homebrew/go_mod_cache/pkg/mod/github.com/lucas-clemente/quic-go@v0.28.1/internal/qtls/go120.go:6:13: cannot use "The version of quic-go you're using can't be built on Go 1.20 yet. For more details, please see https://github.com/lucas-clemente/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.20 yet. F...) as int value in variable declaration
ginuerzh commented 1 year ago

Done!

lasse717 commented 10 hours ago

@here, I am still getting this error. cannot use "The version of quic-go you're using can't be built on Go 1.20 yet. For more details, please see https://github.com/lucas-clemente/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.20 yet. F...) as int value in variable declaration