Will make it easier for other projects to use this with vgo.
It should be simple as there is already a Gopkg.lock file: vgo install ./...
My understanding is that vgo is still in flux and isn't production ready yet.
Since people are using migrate in production, I'd hold off on supporting vgo in migrate until vgo has been adopted into the official go toolchain.
I see your point, but I would argue that people are starting to use vgo in production (I am), it is after all accepted now. Supporting vgo by adding a go.mod file is good for the community and adoption of the new standard. I don鈥檛 suggest replacing dep here, just adding.
If vgo changes their file format in a backwards incompatible way, then migrate would also need to make a backwards incompatible release, which I'd like to avoid unless absolutely necessary. Namely, if the go.mod file format changes or is replaced with another format (seems unlikely given this issue: https://github.com/golang/go/issues/23966), then existing projects using vgo and migrate may be blocked by a new migrate release. I'd like to avoid this issue all together by not officially supporting vgo until it's production ready.
In the meanwhile, feel free to fork the package to support vgo and open a PR once vgo has been finalized.
Ok, reson enough!