Skip to content

Instantly share code, notes, and snippets.

View guelfey's full-sized avatar

Georg Reinke guelfey

View GitHub Profile
@guelfey
guelfey / cover.vim
Created August 16, 2013 22:01
Vim plugin for Go test coverage profiles
" cover.vim - Vim plugin for Go test coverage profiles
" install in ftplugin/go
"
" ":Cover coverprofile" will open the current file in a new read-only window,
" highlighting the code regarding to whether it is covered by tests or not.
" You can change the colors by highlighting goTestCovered and goTestNotCovered
" from your vimrc.
if exists("b:did_ftplugin_go_cover")
finish
// wikicrawler - check links in the Go projects wiki.
//
// It basically searches its stdin for anything looking like an HTTP address and
// tries to get it.
//
// Usage: curl http://wiki.go-wiki.googlecode.com/hg/Projects.wiki | wikicrawler
package main
import (