[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Debian packagers also struggle with many dependencies
On Fri, Jan 22, 2021 at 6:03 PM <maya%netbsd.org@localhost> wrote:
> It's worth noting that Go will use a singular version of
> golang.org/x/sys for this package - the newest one.
> This is also evident from there being a single .zip file, the others are
> .mod files. I'm not sure why Go wants to have all the go.mod files, but
> they don't contain any code.
The .mod files contain metadata, mainly dependencies, so that the go
tool can resolve indirect dependencies and find the correct version to
use. For instance, a .mod file of a dependency could exclude certain
versions of another module. Go 1.17 (note that 1.16 is not released
yet) will have lazy module loading, which should help with the
Main Index |
Thread Index |