Exclude packages from godep
$ go get github.com/mmcloughlin/godepex
In your go project, after you've run godep save
you can remove dependencies matching a prefix with
$ godepex example.com/pkg
This will both
- Filter out the entries from your
Godeps/Godeps.json
- Delete corresponding directories from
Godeps/_workspace/src