Re:Rf: an experimental refactoring tool for Go
by cfors on Monday May 24, 2021 @09:56PM
(#27271864)
What is `rdep`? Couldn't seem to find it with a cursory google search.
[ Parent
| on HN ]
Reverse dependencies, meaning find all sources that depend on a given file. Likely inspired by the Bazel query function by the same name.
The sibling comment touches on this, but the class of tooling that lets you analyze (R)everse (dep)endencies. There's a bunch that do similar things, but examples:
Rdep: https://github.com/axw/rdep Gomod: https://github.com/Helcaraxan/gomod
If you look at what they're doing under the hood, its mostly gluing bunch of official Golang libs that let you inspect package-level information.