go version
)?go version go1.9.2 linux/amd64
Es spielt keine Rolle für die neueste Version.
go env
)?[ root@host-172-19-146-103 netplugin]# go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/root/contiv/"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build112525786=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
Überprüfen Sie das Paket in googlegit, und wir haben den Commit gefunden:
lex/httplex, http/httpguts: Führen Sie das httplex-Paket in httpguts zusammen
httplex war der ursprüngliche Paketname für gemeinsam genutzten Code zwischen net/http
und x/net/http2, aber der Name war zu spezifisch, und http/httpguts war
später für anderen freigegebenen Code hinzugefügt.
Wir haben damals darüber gesprochen, httplex in httpguts zusammenzuführen, aber das war nicht der Fall
früher passieren. Damit ist der Umzug abgeschlossen.
Aktualisiert golang/go#23908
Der Paketname wurde bereits nach http/httpguts/ verschoben.
Damit können sie im Master-Zweig nicht gefunden werden.
/contiv-netplugin-etcdv3/netplugin/vendor/golang.org/x/net/http2/http2.go:
30 "synchronisieren"
31
32: "golang.org/x/net/lex/httplex"
33)
34
/contiv-netplugin-etcdv3/netplugin/vendor/golang.org/x/net/http2/transport.go:
29 "golang.org/x/net/http2/hpack"
30 "golang.org/x/net/idna"
31: "golang.org/x/net/lex/httplex"
32)
33
/contiv-netplugin-etcdv3/netplugin/vendor/golang.org/x/net/http2/write.go:
14
15 "golang.org/x/net/http2/hpack"
16: "golang.org/x/net/lex/httplex"
17)
18
geh normal werden
/contiv-netplugin-etcdv3/netplugin/vendor/golang.org/x/net/http2/http2.go:
30 "synchronisieren"
31
32: "golang.org/x/net/lex/httplex"
33)
34
/contiv-netplugin-etcdv3/netplugin/vendor/golang.org/x/net/http2/transport.go:
29 "golang.org/x/net/http2/hpack"
30 "golang.org/x/net/idna"
31: "golang.org/x/net/lex/httplex"
32)
33
/contiv-netplugin-etcdv3/netplugin/vendor/golang.org/x/net/http2/write.go:
14
15 "golang.org/x/net/http2/hpack"
16: "golang.org/x/net/lex/httplex"
17)
18
Fehler invail, bitte schließen.