All Projects → rogpeppe → gomodmerge

rogpeppe / gomodmerge

Licence: other
merge go.mod files

Programming Languages

go
31211 projects - #10 most used programming language
AMPL
153 projects

gomodmerge

Sometimes we'll have a project that uses Go modules but one of its dependencies do not. Updating your project when its dependencies change can be awkward because there's no easy way of merging dependency requirements from non-module build systems such as dep.

The gomodmerge tool makes it possible to do that. In your non-module dependency, run go mod init to create a module file for that dependency. Then in your project, run gomodmerge $dependency/go.mod to merge any versions that are newer.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].