The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Compare orders two dotted release numbers, ignoring a leading "v" and any "-suffix" or
"+build" part. It returns ok=false when either is not made of numbers (a "dev" build).
type Notice struct {
Available bool `json:"available"`
Latest string `json:"latest"`
}
Notice is what the overlay's version line needs: whether to say a newer release is available,
and which. A failed lookup, a development build or a release that is not newer all read as no
notice, so the line stays quiet.
type Result struct {
Latest string// the release tag, for example "v0.1.0" Newer bool// Latest is newer than the running version Known bool// the running version is a release number that can be compared}