golang函数跳转需要借助godef实现
godef安装如下
go get -v github.com/rogpeppe/godef go install -v github.com/rogpeppe/godef
~/.vimrc配置 Plug 'dgryski/vim-godef'
vim里执行:PlugInstall,重启vim