[BUG] Undefined Error When Running go get github.com/gorilla/websocket with Go 1.15.11 Without Enabling GO111MODULE
K8lyN-4ever opened this issue · 1 comments
K8lyN-4ever commented
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
I am using Go version 1.15.11 and have not enabled GO111MODULE. When I run go get github.com/gorilla/websocket, I encounter an "undefined" error. How can I resolve this issue?
Expected Behavior
No response
Steps To Reproduce
just run go get github.com/gorilla/websocket
Anything else?
K8lyN-4ever commented
The websocket module requires Go 1.16 and possibly a more recent version of Go.
Upgrade to a newer version of Go to fix the reported error.
thank u, i can get websocket now.