type golang.org/x/mod/semver.ByVersion
4 uses
golang.org/x/mod/semver (current package)
semver.go#L158: type ByVersion []string
semver.go#L160: func (vs ByVersion) Len() int { return len(vs) }
semver.go#L161: func (vs ByVersion) Swap(i, j int) { vs[i], vs[j] = vs[j], vs[i] }
semver.go#L162: func (vs ByVersion) Less(i, j int) bool { return compareVersion(vs[i], vs[j]) < 0 }
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)