gorilla / websocket

Package gorilla/websocket is a fast, well-tested and widely used WebSocket implementation for Go.
https://gorilla.github.io
BSD 2-Clause "Simplified" License
22.41k stars 3.48k forks source link

Not able to download websocket module using go get. #712

Closed qascade closed 3 years ago

qascade commented 3 years ago

Describe the bug

A clear and concise description of what the bug is. Whenver I try to go get the module, it throws unexpected EOF error. …

Versions

Go version: go version go version go1.16.6 darwin/amd64 package version: run git rev-parse HEAD inside the repo

Steps to Reproduce

How can the bug be triggered? go get github.com/gorilla/websocket

Terminal Output

go get github.com/xuri/excelcize
go get: module github.com/xuri/excelcize: Get "https://proxy.golang.org/github.com/xuri/excelcize/@v/list": unexpected EOF

I am using MacOS Big Sur on Mac Book Pro 2020.

elithrar commented 3 years ago

websocket doesn’t import third party modules; it sounds like something in your Go installation is broken. The “excelcise” package is not imported by gorilla/websocket.

qascade commented 3 years ago

I have uninstalled and reinstalled go multiple times, but it still shows this behaviour. Is there a way to hard reset go installation.

elithrar commented 3 years ago

Are you explicitly running go get github.com/xuri/excelcize - ? That’s not related to this package and it’s likely to be an issue with that package itself.

qascade commented 3 years ago

I changed my GOPATH to a new directory, and it worked.