Skip to content

cespare/deplist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deplist

Deplist lists the dependencies of a Go package. (You can almost use go list for this, but excluding stdlib packages, which deplist does by default, is trickier.)

Examples:

$ deplist github.com/jmoiron/sqlx
github.com/jmoiron/sqlx/reflectx
$ deplist -t github.com/jmoiron/sqlx      # -t to show test dependencies
github.com/go-sql-driver/mysql
github.com/jmoiron/sqlx/reflectx
github.com/lib/pq
github.com/lib/pq/oid
github.com/lib/pq/scram
github.com/mattn/go-sqlite3

deplist -h shows usage info.

About

List the external dependencies of a Go package.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages