Skip to content

Instantly share code, notes, and snippets.

@craigfurman
Last active September 21, 2015 11:00
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save craigfurman/b281af7d77ff13d931a5 to your computer and use it in GitHub Desktop.
Save craigfurman/b281af7d77ff13d931a5 to your computer and use it in GitHub Desktop.
Update Go dependencies after installing a new language version
go list -f '{{join .Deps "\n"}}' ./... | xargs go list -f '{{if not .Standard}}{{.ImportPath}}{{end}}' | xargs go install -a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment