On Thursday, September 5, 2019 at 8:48:11 PM UTC+3, Michael Ellis wrote:
> I ran :GoUpdateBinaries.

> When I looked at git status, I saw that the go.mod and go.sum files had 
> changed.  My go.mod now contains lines for all vim-go dependencies!
Running 'go get example.com/some/module' inside a Go module (the go.mod 
file is in the current directory or a parent directory) seems to add 
example.com/some/module to go.mod as an "// indirect" dependency.
Also 'go get -u modA" will try to update modA's dependencies and add them 
also as "// indirect" dependencies to your go.mod.
More details in https://github.com/golang/go/wiki/Modules

At first glance, it seems that GoUpdateBinaries calls GoInstallBinaries 
which constructs a 'go get' command, optionally with a -u flag:

Running 'go get ...' inside a module can add indirect dependencies to 


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 

Reply via email to