Skip to content

Instantly share code, notes, and snippets.

@BenLubar
Last active December 25, 2015 11:09
Show Gist options
  • Save BenLubar/6966314 to your computer and use it in GitHub Desktop.
Save BenLubar/6966314 to your computer and use it in GitHub Desktop.
#!/bin/sh
for p in `curl http://go-search.org/api?action=packages | sed -e 's/","/\n/g' -e 's/"]/\n/' -e 's/\["//'`
do
GOPATH=~/gosearchpath go get -d -v "$p"
done
#!/bin/sh
cd ~/gosearchpath/src
for d in `find -type d`
do
GOPATH=~/gosearchpath go tool vet "$d"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment