psanford / wormhole-william

End-to-end encrypted file transfer. A magic wormhole CLI and API in Go (golang).
MIT License
1.08k stars 55 forks source link

Update klauspost/compress to v1.11.7 #34

Closed Jacalz closed 3 years ago

Jacalz commented 3 years ago

A few minor changes. Nothing that really is necessary for us, but this is the version that I will be using in wormhole-gui 2.2.0 and I would like to have the same version to avoid compiling in two different versions of the same module.

psanford commented 3 years ago

Go modules do not compile in multiple version of the same package if you have dependencies that specify different versions in their go.mod files. The Go tool uses Minimal Version Selection (https://golang.org/ref/mod#minimal-version-selection) to select the package version that is resolved by all the dependencies. Thus you do not need to wormhole-william to update its go.mod for your application to select a newer version of a dependency.

Jacalz commented 3 years ago

Handy to know, thanks. Sorry for opening this unnecessary then.