Fix some problems in Go app
Fix some problems in Go app
P1: Can't run after upgrade go version in vscode
Upgrade dlv
using go install -v github.com/go-delve/delve/cmd/dlv@latest
P2. Error while run go mod tidy
Occur error dial tcp: lookup goproxy.cn: no such host
, Turned off GOSUMDB
go env -w GOSUMDB=off
still not works. Finally works after truned off vpn connection
P3. Permission denied while Upgrading dlv
I found the directory of dlv
is owned by root
, deleted it and rerun go install -v github.com/go-delve/delve/cmd/dlv@latest
works