mr-karan / doggo

:dog: Command-line DNS Client for Humans. Written in Golang
https://doggo.mrkaran.dev/
GNU General Public License v3.0
3.07k stars 101 forks source link

can not install with go 1.9 #50

Closed ziyouchutuwenwu closed 2 years ago

ziyouchutuwenwu commented 2 years ago
$ go install github.com/mr-karan/doggo/cmd/doggo@latest
# github.com/lucas-clemente/quic-go/internal/qtls
../dev/golang/libs/pkg/mod/github.com/lucas-clemente/quic-go@v0.26.0/internal/qtls/go119.go:6:13: cannot use "quic-go doesn't build on Go 1.19 yet." (untyped string constant) as int value in variable declaration
$ go version                                           
go version go1.19 linux/amd64
export GOROOT=~/dev/golang/go
export GOPATH=~/dev/golang/libs
export GOBIN=
export PATH=$PATH:$GOROOT/bin:${GOPATH//://bin:}/bin
export GO111MODULE=on
export GOPROXY=https://goproxy.cn,direct
mr-karan commented 2 years ago

Fixed with https://github.com/mr-karan/doggo/commit/5e611d9706ec6a2b5b9ee5cbec4cbee21f5c4632

Thanks for reporting.