How do you deal package dependencies? For example, say I have a package that I want to publish for all to use, and in developing that package I am using 3rd party packages. For this example lets say github.com/gorilla/websocket
is one and github.com/sirupsen/logrus
is another one. Will the go tools automatically see my “includes” and go get these packages? Do I have to put it my description that you need to have these installed before my package will work? Should I include them in my own sources somehow (which I doubt but not leaving anything out)? What is the recommended way to handle this? One thing to note is that I am using the Go 1.11 modules system so I do have my dependencies listed in my go.mod file. Is that enough?
No need to worry about this because go get
will do it for you.