gocovim can be used to display the current code coverage for your go project in your vim editor.
If you don't have a preferred installation method, one option is to install pathogen.vim, and then copy and paste:
cd ~/.vim/bundle
git clone https://github.com/webhat/gocovim.git
vim -u NONE -c "helptags gocovim/doc" -c qNow run make install to install the gocovim binary
To use run tests with coverage, or have a coverage file cover.out generated by your TTD tool.
go test -coverprofile cover.outYou can run <leader>r from vim or run gocovim from the commandline to produce your coverage file.
Inspired by cadre
