Grokking Advanced Go
Vote

0% completed

​

Minimal Version Selection

An order service requires pay v1.1.0 and ship v1.2.0. The pay module asks for log v1.3.0, and the ship module asks for log v1.4.0. A newer version of log, v1.5.0, has also been published. A build uses only one version of each module path, so which version of log does it get?

The answer is v1.4.0. It is neither the newest version available nor the oldest one requested. It is the highest version that some module in the graph actually asks for.

This rule is called minimal version selection

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content