`go mod download` should include `.info` files for the requested module(s), or for all dependencies of your module (if you don't give any specific modules as arguments).
That said, .info files are not particularly useful in general, and the `go` command should probably read them less than in does today; see https://golang.org/issue/42723 for details; On Tuesday, January 5, 2021 at 2:10:05 PM UTC-5 Orson Cart wrote: > Apologies if this is a dumb question as I don't have a great deal of > experience with modules. > > So, if I use the "go get" command to download a module, when I look in the > module cache the @v directory of the requested module contains at least one > .info file. > This isn't the case for any indirect dependencies which seem to contain > only list, list.lock and .mod files. > > There must be a way to have all of the .info files downloaded to the cache > because the goland ide does this when it opens a module directlry and the > cache is empty. I just don't know what command it's using to achieve it. > > So, does anyone know a command which will download all dependencies > complete with their .info files? > > Thanks > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/fe491549-4abe-48a1-89cd-f06330f86098n%40googlegroups.com.