Purpose: use web sockets for go. Most of the examples found on the network use the Gorilla library, connected as follows:
import "github.com/gorilla/websocket" If I understand correctly, to use this package ( github.com/gorilla/websocket ) locally, you need to get it in advance:
go get "github.com/gorilla/websocket" Actually, the question is: after executing the aforementioned command, two directories appear in the directory of our Go project, in one of which there is a binary, in the other - a lot of raw materials; Are all pumped raws necessary? Is there any more universal ("correct") way to use third-party packages in their projects?