Skip to content

euanwm/modcheck

Repository files navigation

Modcheck

codecov

If you're reading this, then Godspeed.

Why

I made this tool to assess the state of a project's dependencies quickly. I wanted to know if any dependencies were not being used or were not being used by any other dependencies. I also wanted to know how widespread the dependencies were on GitHub, the codebase's quality, and the number of outstanding issues.

Installation

go install github.com/euanwm/modcheck/cmd/modcheck@latest

If you haven't done so, you'll need to add your GOPATH to your PATH environment variable.

export PATH="$(go env GOPATH)/bin:$PATH"

Usage

modcheck <path/to/folder/with/go.mod/file>

The modcheck tool can be used in two ways:

  • modcheck: without arguments, it will check the go.mod file in the current directory
  • modcheck /path/to/folder/: with a path to a folder containing a go.mod file, it will check that go.mod file.

Example output

modcheck example output

Development requirements

About

Go Mod checking tool

Resources

License

Stars

4 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors