Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / honnef.co / go / tools@v0.0.1-2020.1.5 / cmd / rdeps / README.md
1 rdeps scans GOPATH for all reverse dependencies of a set of Go
2 packages.
3
4 # Installation
5
6 See [the main README](https://github.com/dominikh/go-tools#installation) for installation instructions.
7
8 # Usage
9
10 Invoke `rdeps` with zero or more arguments that are Go packages to
11 print their reverse dependencies.
12
13 Alternatively, use the `-stdin` flag and provide a list of Go packages
14 on standard input.
15
16 See `rdeps -h` for all flags.
17
18 # Example
19
20 ```
21 $ rdeps database/sql 2>/dev/null | head -5
22 github.com/GoogleCloudPlatform/golang-samples/docs/appengine/cloudsql
23 github.com/lxc/lxd/lxd
24 github.com/mattn/go-sqlite3/sqltest
25 github.com/mgutz/dat/sql-runner
26 github.com/mgutz/dat
27 ```