Skip to content
forked from kevwan/depu

A tool to check available updates of dependent packages in go.mod.

License

Notifications You must be signed in to change notification settings

tangchangquan/depu

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

depu

Go Go Report Card Release License: MIT

Why depu is needed

For Go devs, we often need to check if any updates on my dependencies. Some advantages on keeping up-to-date:

  • get more features
  • known bugs or security issues get fixed
  • not breaking for deprecated usages on must upgrade

And go list lists all the dependent packages for both direct and indirect usages, and Indirect fields always telling true. For details, check this issue: golang/go#40364

Design ideas

  • use go list -u -m -json all to get all the available updates for both direct and indirect usages.
  • parse local go.mod to get directly required packages.
  • only display the availabe updates for directly required packages.

Installation

$ go install github.com/kevwan/depu@latest

How to use

In the directory of go.mod, run the following command:

$ depu

Results look like:

image

Give a Star! ⭐

If you like or are using this project, please give it a star. Thanks!

About

A tool to check available updates of dependent packages in go.mod.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%