In-reply-to » ahh this is useful https://go.dev/doc/modules/managing-dependencies. the go culture doesn't typically have large dependency graphs like Ruby or JS.

@prologic@twtxt.net This graph shows all transitive dependencies, but also includes test-only libraries, that don’t make it into the actual productive binary. Dependency removal is always a very good thing. Btw, is anybody using this selenium crap in the tests directory? That’s a low hanging fruit I believe (doesn’t prune whole a lot, though). Awesome, I didn’t know about the why sub command, thanks! At work I wrote a script to filter the go mod graph output in order to find the path(s) how a certain package is pulled in.

⤋ Read More