go-kratos / kratos

Your ultimate Go microservices framework for the cloud-native era.
https://go-kratos.dev
MIT License
23.11k stars 3.98k forks source link

go get -u github.com/go-kratos/kratos/tool/kratos@master 报错 #553

Closed jankuo closed 4 years ago

jankuo commented 4 years ago

go get -u github.com/go-kratos/kratos/tool/kratos@master 抱错

go: finding github.com/go-kratos/kratos/tool/kratos master
go: finding github.com/go-kratos/kratos/tool master
go: finding github.com/go-kratos/kratos master
go: downloading github.com/go-kratos/kratos v0.4.3-0.20200403065147-d57df0b44362
go: extracting github.com/go-kratos/kratos v0.4.3-0.20200403065147-d57df0b44362
go: finding google.golang.org/genproto v0.0.0-20200402124713-8ff61da6d932
go: finding github.com/samuel/go-zookeeper latest
go: finding golang.org/x/sys latest
go: finding github.com/dgryski/go-farm latest
go: finding go.etcd.io/etcd v0.0.0-20200402134248-51bdeb39e698
go: finding github.com/StackExchange/wmi latest
go: finding google.golang.org/genproto latest
go: finding github.com/siddontang/go latest
go: finding golang.org/x/lint latest
go: finding github.com/cznic/strutil latest
go: finding github.com/cockroachdb/datadriven latest
go: finding github.com/xiang90/probing latest
go: finding golang.org/x/net latest
go: finding golang.org/x/oauth2 latest
go: finding golang.org/x/tools latest
go: finding github.com/tsuna/gohbase latest
go: finding github.com/cznic/b latest
go: finding golang.org/x/crypto latest
go: finding github.com/alecthomas/template latest
go: finding golang.org/x/sync latest
go: finding github.com/alecthomas/units latest
go: finding github.com/tmc/grpc-websocket-proxy latest
go: finding golang.org/x/xerrors latest
go: finding github.com/remyoudompheng/bigfft latest
go: finding github.com/kr/logfmt latest
go: finding github.com/golang/glog latest
go: finding go.uber.org/tools latest
go: finding golang.org/x/crypto v0.0.0-20191002192127-34f69633bfdc
go: finding github.com/golang/groupcache latest
go: finding github.com/openconfig/gnmi latest
go: finding github.com/cznic/mathutil latest
go: finding github.com/aristanetworks/goarista latest
go: finding github.com/openconfig/reference latest
go: finding github.com/modern-go/concurrent latest
go: finding gopkg.in/bsm/ratelimit.v1 latest
go: finding github.com/mwitkow/go-conntrack latest
go: finding github.com/eapache/go-xerial-snappy latest
go: finding golang.org/x/exp latest
go: finding golang.org/x/time latest
go: finding github.com/aristanetworks/glog latest
go: finding github.com/xdg/scram latest
go: finding github.com/frankban/quicktest v1.9.0
go: finding github.com/templexxx/cpufeat latest
go: finding github.com/coreos/go-systemd/v22 v22.0.0
go: finding github.com/xtaci/lossyconn latest
go: finding gopkg.in/check.v1 latest
go: finding golang.org/x/image latest
go: finding github.com/influxdata/influxdb1-client latest
go: finding github.com/certifi/gocertifi latest
go: finding github.com/cncf/udpa/go latest
go: finding github.com/templexxx/xor latest
go: finding dmitri.shuralyov.com/gpu/mtl latest
go: finding github.com/godbus/dbus/v5 v5.0.3
go: finding github.com/coreos/pkg latest
go: github.com/coreos/bbolt@v1.3.4: parsing go.mod: unexpected module path "go.etcd.io/bbolt"
go: finding golang.org/x/mobile latest
go get: error loading module requirements

环境如下

GOARCH="amd64"
GOBIN="/usr/local/opt/go/libexec/bin"
GOCACHE="/Users/i/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/i/Developer/go"
GOPROXY="https://goproxy.cn"
GORACE=""
GOROOT="/usr/local/opt/go/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/opt/go/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/wr/1rklnnmd6dg7m27mfgxgcl3h0000gn/T/go-build162117144=/tmp/go-build -gno-record-gcc-switches -fno-common"
jankuo commented 4 years ago

go 版本问题,升级到最新的版本就不会报错了