rdeps

command
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2020 License: MIT Imports: 9 Imported by: 0

README

rdeps scans GOPATH for all reverse dependencies of a set of Go packages.

Installation

See the main README for installation instructions.

Usage

Invoke rdeps with zero or more arguments that are Go packages to print their reverse dependencies.

Alternatively, use the -stdin flag and provide a list of Go packages on standard input.

See rdeps -h for all flags.

Example

$ rdeps database/sql 2>/dev/null | head -5
github.com/GoogleCloudPlatform/golang-samples/docs/appengine/cloudsql
github.com/lxc/lxd/lxd
github.com/mattn/go-sqlite3/sqltest
github.com/mgutz/dat/sql-runner
github.com/mgutz/dat

Documentation

Overview

rdeps scans GOPATH for all reverse dependencies of a set of Go packages.

rdeps will not sort its output, and the order of the output is undefined. Pipe its output through sort if you need stable output.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL