Skip to content

ldez/deptomod

Repository files navigation

dep to go modules with sugar

GitHub release Build Status

A simple tool to convert a project from dep to go modules, respect source attribute.

If you appreciate this project:

Sponsor

How to use

I recommend to export the status instead of using the Gopkg.lock from the project:

dep status -lock > Gopkg.lock.toml

Command line:

Enhanced migration from dep to go modules.

Usage:
  deptomod [flags]

Flags:
  -h, --help            help for deptomod
  -i, --input string    The input directory. (default "./fixtures")
  -m, --module string   The future module name. (default "github.com/user/repo")
  -o, --output string   The output file. (default "./go.mod.txt")