Comments (8)
Sure, I tested the dependency of the vscode go plugin, it works fine now, thank u.
from goproxy.
@fitzix What's your GOPROXY
env ? Which commit version you use if you build by yourself?
from goproxy.
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/fitz/Library/Caches/go-build"
GOENV="/Users/fitz/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/fitz/.go"
GOPRIVATE=""
GOPROXY="https://goproxy.io,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
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/6w/2ynsrj4d4fqd7vxrf1gmkq4w0000gn/T/go-build692195248=/tmp/go-build -gno-record-gcc-switches -fno-common"
from goproxy.
It is weird, remove GOPROXY and use the default GOPROXY="https://proxy.golang.org,direct"
, no error.
go get -v golang.org/x/tools/cmd/gopls
get "golang.org/x/tools/cmd/gopls": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at //golang.org/x/tools/cmd/gopls?go-get=1
get "golang.org/x/tools/cmd/gopls": verifying non-authoritative meta tag
go: finding golang.org/x/tools/cmd/gopls latest
go: finding golang.org/x/tools latest
from goproxy.
I can not reproduce your issue using goproxy.io , log:
Sosara@MBA:/tmp$ go get -v golang.org/x/tools/cmd/gopls
go: finding golang.org/x/tools/cmd/gopls latest
go: finding golang.org/x latest
go: finding golang.org latest
go: finding golang.org/x/tools/cmd latest
go: finding golang.org/x/tools latest
go: downloading golang.org/x/tools v0.0.0-20190606050223-4d9ae51c2468
go: extracting golang.org/x/tools v0.0.0-20190606050223-4d9ae51c2468
go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58
go: extracting golang.org/x/sync v0.0.0-20190423024810-112230192c58
go: finding golang.org/x/sync v0.0.0-20190423024810-112230192c58
from goproxy.
This problem will only appear on 1.13,may be caused by some bugs in 1.13beta1.
from goproxy.
Yes, I can reproduce with go1.13beta1
# go version
go version go1.13beta1 linux/amd64
# go get -v golang.org/x/tools/cmd/gopls
go: finding golang.org/x/tools/cmd/gopls latest
go: finding golang.org latest
go: finding golang.org/x latest
go: finding golang.org/x/tools/cmd latest
go: finding golang.org/x/tools latest
go get golang.org/x/tools/cmd/gopls: module golang.org/x/tools/cmd: unexpected end of JSON input
But you can use go get -v golang.org/x/tools
.
from goproxy.
@fitzix I fixed this issue and deployed online, can you help me to confirm this bug is fixed?
from goproxy.
Related Issues (20)
- failed to download pdfcpu when use proxy.golang.com.cn HOT 4
- checksum检查不通过 HOT 2
- gosum.io responds with 'Not found' for most queries HOT 4
- connection reset by peer when accessing goproxy.io HOT 1
- gosum.io responds with 'Not found' for package `gopkg.in/ini.v1` HOT 1
- How do I know which open source protocol is used for open source components? HOT 2
- BUGS on https://proxy.golang.com.cn/docs/GOSUMDB-env.html about copy-button
- 域名没续费了?lookup proxy.golang.com.cn: no such host HOT 1
- The checksums generated by sum.golang.org and gosum.io are different HOT 1
- 502 Bad Gateway when running [email protected]
- Request to publish a versioned docker image HOT 4
- gosum.io source code HOT 2
- goproxy.io/sumdb proxy is not correct HOT 3
- Checksum verification behaviour mismatch with other proxies HOT 2
- 公共仓库版本,是否有不走公网服务器,仅本地cache代理功能?
- Get "xxx.info" EOF HOT 8
- 建议修改一下首页https://goproxy.io/的使用示例 HOT 2
- 删除liyu36/kubectl-version-manager包 HOT 1
- 下载包报错:...invalid character 'o' in literal null (expecting 'u')
- go get zap 502?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goproxy.