//
pkg.gl
Category
golang.org/x/tools/gopls
internal
vulncheck
semver
package
0.18.1
Repository:
https://go.googlesource.com/tools
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
1
Files
22 SLOC
#
Functions
CanonicalizeSemverPrefix
CanonicalizeSemverPrefix turns a SEMVER string into the canonical representation using the 'v' prefix, as used by the OSV format.
Valid
Valid returns whether v is valid semver, allowing either a "v", "go" or no prefix.