gorilla/websocket

[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

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?

Snipaste_2023-09-04_09-46-53

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.