ctrlp-goimport provides a Go packages incremental search and import in ctrlp.vim.
Plug 'ctrlpvim/ctrlp.vim'
Plug 'fatih/vim-go', {'for': 'go'}
Plug 'nametake/ctrlp-goimport', {'for': 'go'}
nmap <C-g><C-i> <Plug>(ctrlp-goimport)
Run: CtrlPGoimport
or type the mapped command to invoke ctrlp-goimport.
The command to list packages is go list all
. If you want to use another command, set the command as follows.
let g:ctrlp_goimport_command='gopkgs --no-vendor'