今天安装go的appdash包出错:
go get sourcegraph.com/sourcegraph/appdash/cmd/...: unrecognized import path "sourcegraph.com/sourcegraph/appdash/cmd": reading https://sourcegraph.com/sourcegraph/appdash/cmd?go-get=1: 503 Service Unavailable
解决办法:
go get -u github.com/sourcegraph/appdash
修改GOPATH/pkg/mod/github.com/sourcegraph/appdash@v0.0.0-20190731080439-ebfcffb1b5c0下的 span.go和collector.go
将里面import的内容
"sourcegraph.com/sourcegraph/appdash"
改为
"github.com/sourcegraph/appdash"