Giter VIP home page Giter VIP logo

Comments (8)

fitzix avatar fitzix commented on May 19, 2024 2

Sure, I tested the dependency of the vscode go plugin, it works fine now, thank u.

from goproxy.

oiooj avatar oiooj commented on May 19, 2024

@fitzix What's your GOPROXY env ? Which commit version you use if you build by yourself?

from goproxy.

fitzix avatar fitzix commented on May 19, 2024

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.

fitzix avatar fitzix commented on May 19, 2024

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.

oiooj avatar oiooj commented on May 19, 2024

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.

fitzix avatar fitzix commented on May 19, 2024

This problem will only appear on 1.13,may be caused by some bugs in 1.13beta1.

from goproxy.

oiooj avatar oiooj commented on May 19, 2024

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.

oiooj avatar oiooj commented on May 19, 2024

@fitzix I fixed this issue and deployed online, can you help me to confirm this bug is fixed?

from goproxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.