gost icon indicating copy to clipboard operation
gost copied to clipboard

gost build error by the latest golang

Open imajinyun opened this issue 1 year ago • 1 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/[email protected]/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

imajinyun avatar Jan 15 '24 08:01 imajinyun

use this instead

https://github.com/honwen/gost

3052 avatar Jun 02 '24 18:06 3052