In Go 1.5 we have the beginings of vendoring support. The easiest way to incorperate other projects into your Git repo is by using the following command. Short and dirty, but it works:

$ git subtree add --prefix vendor/  \ master --squash

Being that I wont remember the command, its now here in the blog. Also, don’t forget to set your environment:


Previous   Up   Next

comments powered by Disqus