Utility to manage gocode's lib-path when using GO15VENDOREXPERIMENT with glide.
As gocode is currently unaware of GO15VENDOREXPERIMENT, it doesn't automatically use your project's vendor directory, so you don't have autocompletion in your editor for vendorized packages.
But gocode supply a command ($ gocode set lib-path) for you to view and set a path[s] to its lib-path, and you can add your project's vendor folder to it.
Great, but it's a PITA to manually manage this, so I created this tool to help with it:
$ gocodeit set
Current project's vendor successfully added to gocode's lib-path
You can remove it with:
$ gocodeit unset
Current project's vendor successfully removed to gocode's lib-path
Check the help command for the other things you can do with it.
Remember to run rebuild your dependencies every time you change your vendor packages:
$ glide rebuild
- Fork it
- Checkout the develop branch (
git checkout -b develop
) - Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
This application is distributed under the MIT License.