Any way to show all go packages installed in my pc?

Since go get fetches packages and dependencies without any default verbose output.

I have to know how many packages or dependencies installed on my pc.

anyways to get that? :confused:

List the directories in your gopath.

To see dependencies for a given package, use go list:

1 Like

Another interesting way to check is to run the godocs locally. In your terminal run this:

godoc -http=:1234

Then in your browser go to http://localhost:1234/pkg/ and you can see all packages on your machine along with their docs.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.