So if you are looking to compile you go project on your server, you would probably need to worry about any third party dependencies.

Here is quick recursive way to do that

go get ./…

Hope this helps