This repository was archived by the owner on Sep 9, 2020. It is now read-only.
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
Q: Migrate / upgrade project from manifest.json / lock.json to Gopkg.toml / Gopkg.lock? #1242
Closed
Description
Disclaimer: apologies in advance if I missed some doc/issue/PR answering this question already. The few searches I ran unfortunately did not yield anything.
Question:
If I have a project using the "old" format (pre #342) to define dependencies and constraints on them, i.e.:
manifest.json
lock.json
is there a way to have dep
migrate or upgrade the project from these to the "new" (post #342) format, i.e.:
Gopkg.toml
Gopkg.lock
without having to do the following?
dep init && dep ensure && dep prune
- manual translation of all constraints from JSON to TOML (:man_facepalming:)
rm manifest.json; rm lock.json
Metadata
Metadata
Assignees
Labels
No labels