SkillAgentSearch skills...

Modvendor

Auxiliary vendoring tool for Go's new go.mod

Install / Use

/learn @goware/Modvendor
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

modvendor

Simple tool to copy additional module files into a local ./vendor folder. This tool should be run after go mod vendor.

go get -u github.com/goware/modvendor

Usage

$ GO111MODULE=on go mod vendor
$ modvendor -copy="**/*.c **/*.h **/*.proto" -v

If you have additional directories that you wish to copy which are not specified under ./vendor/modules.txt, use the -include flag with multiple values separated by commas, e.g.:

$ GO111MODULE=on go mod vendor
$ modvendor -copy="**/*.c **/*.h **/*.proto" -v -include="github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/google/api,github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/google/rpc,github.com/prometheus/client_model"

LICENSE

MIT

Related Skills

View on GitHub
GitHub Stars111
CategoryDevelopment
Updated1mo ago
Forks28

Languages

Go

Security Score

80/100

Audited on Mar 1, 2026

No findings