How to get all dependency files for a program

Issue

I make a program in Go and after completing the code, if I want to run this code on other pc or VM, then it does not get all the dependency package files. How can I get all dependency files?

Solution

You can use godep save in your local pc where you complete your program. godep save collect all the dependency files for you. When you move to other pc, just copy the Godep folder with your code and it will solve your problems.

Answered By – Animesh Kumar Paul

Answer Checked By – Jay B. (GoLangFix Admin)

Leave a Reply

Your email address will not be published.