All credit goes to nsf/code
You need to install gocode first.
go get -u github.com/nsf/gocode
Add this line to your ~/.vimrc configuration file :
Bundle 'Vladimiroff/vim-gocode'
And then run vim :
vim +BundleInstall
Clone the plugin into your ~/.vim/bundle directory