vgo mod can read your lock or vendor file (it supports most of the go vendoring solutions) when initting.
Happens automatically when you run 'go mod init' in a directory containing Gopkg.lock. Caught me by surprise the first time as I had no idea it did that :)