Skip to content

Jiu2015/vendor-verify

Repository files navigation

vendor-verify

It is a simple tool for go mod and vendor verification.

The go.mod file will be changed by some reasons, you need run go mod vendor to copy the references to vendor folder. If you forgot run go mod vendor then it may case out of sync, the references will backforward with go.mod, you know, it could raise an online accident...

How to works

In the go.mod file record the package names and versions, and the vendor root path will have modules.txt which still store the package names and versions. This tool will check both of them.

How to install

go get -u github.com/Jiu2015/vendor-verify/vendor-verify

How to use

vendor-verify verify --path <the path of your project>

About

The tools for verify go mod and vendor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages