I've created a go module using this:
go mod init rtws
vim main.go # pasted a bunch of code from an example
go mod tidy
Both of these files import "github.com/gorilla/websocket", so when I used tidy
I expected that it would download that dependency, but instead I got the following warning:
go: warning: "all" matched no packages
And subsequently trying to run it complained that the dependency did not exist.
What does this error mean?
EDIT: when searching, the most relevant thing I found was this other question on SO. A lot of people had this warning come up when running other commands but their solutions didn't work for this particular situation.