command module
Version: v0.0.0-...-4d37edf Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2015 License: MIT Imports: 8 Imported by: 0



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


  1. Fork it
  2. Checkout the develop branch (git checkout -b develop)
  3. Create your feature branch (git checkout -b my-new-feature)
  4. Commit your changes (git commit -am 'Add some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. Create new Pull Request


This application is distributed under the MIT License.


The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL