gh-go-mod-browser
is a gh extension which allow you to browse a project go.mod's direct dependent packages.
Install as a gh extension (GitHub CLI extensions)
gh extension install tnagatomi/gh-go-mod-browser
Navigate to a directory containing a go.mod
and run:
gh go-mod-browser
- Browse direct dependencies of your project's go.mod
- Open GitHub repository in browser for GitHub-hosted packages
- Open pkg.go.dev page in browser
- Add/remove stars to GitHub repositories