github.com/golangci/go-tools@v0.0.0-20190318060251-af6baa5dc196/cmd/rdeps/README.md (about) 1 rdeps scans GOPATH for all reverse dependencies of a set of Go 2 packages. 3 4 # Installation 5 6 ``` 7 go get github.com/golangci/go-tools/cmd/rdeps 8 ``` 9 10 # Usage 11 12 Invoke `rdeps` with zero or more arguments that are Go packages to 13 print their reverse dependencies. 14 15 Alternatively, use the `-stdin` flag and provide a list of Go packages 16 on standard input. 17 18 See `rdeps -h` for all flags. 19 20 # Example 21 22 ``` 23 $ rdeps database/sql 2>/dev/null | head -5 24 github.com/GoogleCloudPlatform/golang-samples/docs/appengine/cloudsql 25 github.com/lxc/lxd/lxd 26 github.com/mattn/go-sqlite3/sqltest 27 github.com/mgutz/dat/sql-runner 28 github.com/mgutz/dat 29 ```