snippetgoMinor
How to get all dependency files for a program
Viewed 0 times
dependencyprogramhowfilesforallget
Problem
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.Context
Stack Overflow Q#32758235, score: 10
Revisions (0)
No revisions yet.