When I go get inside VM, all the dependencies are in /opt/gopath of the guest VM however my text editor/shell is in the host. Therefore, it is kind of hard to take a look at the dependencies' src when necessary.
Suggested solution:
- Create an empty folder
.gopath in the repo
- Synced that folder to the VM
config.vm.synced_folder ".gopath/", "/opt/gopath"
Whenever we build in the VM we will have all the dependencies' src available in the host as well. Let me know if you have any other solution, I can make a PR for this.
When I
go getinside VM, all the dependencies are in/opt/gopathof the guest VM however my text editor/shell is in the host. Therefore, it is kind of hard to take a look at the dependencies' src when necessary.Suggested solution:
.gopathin the repoconfig.vm.synced_folder ".gopath/", "/opt/gopath"Whenever we build in the VM we will have all the dependencies' src available in the host as well. Let me know if you have any other solution, I can make a PR for this.