hasupdates

command module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2023 License: MIT Imports: 9 Imported by: 0

README

HasUpdates.exe

A command-line executable that lists the direct modules with updates and how signifant the update is.

Installing

go install github.com/billgraziano/hasupdates

Features

hasupdates.exe will

  • Identify any direct modules that need to be updated.
  • Major changes are listed in red. Note: go list doesn't list most major changes. But if a change looks major, it is in red.
  • Minor changes are listed in yellow.
  • No changes are listed in green (and hiddent by default).
  • The -v flag will display modules that are current.

Screenshot

Under the Hood

  • Run go list -json -u -m all and capture the output
  • Parse into the Module struct from the go list documentation
  • Format the output

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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