Use adapt in Your Vim
adapt is a very handy tool to generate adapters for single method interfaces. This plugin is created to use adapt in your Vim.
vim-plug:
Plug 'romanyx/vim-go-adapt'
Simply do:
:GoAdapt {package} {interface}
Or to adapt interface from package you're working on:
:GoAdapt {interface}
Note that :Adapt is also available. It is equivalent to :GoAdapt.
gocommand- adapt command
