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?
ベストアンサー1
You can run go get -d ./...
from a directory of your project to download all go-gettable dependencies.
Or copy all src
subdirectory from your GOPATH to the destination machine.
...
is a special pattern, tells to go down recursively.