Instantly share code, notes, and snippets.

View cover.vim
" 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
View wikicrawler.go
// 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 (