-
-
Save thehowl/4353afc4aecc5dfa0a05 to your computer and use it in GitHub Desktop.
ggd - a way to easily get docs about a go package
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| if [ -z ${1+x} ]; then | |
| echo 'Usage:' | |
| echo ' ggd [go package]' | |
| exit 0 | |
| fi | |
| xdg-open https://godoc.org/"$1" > /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment