Documentation ¶
Overview ¶
Package semver provides shared utilities for manipulating Go semantic versions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanonicalizeSemverPrefix ¶
CanonicalizeSemverPrefix turns a SEMVER string into the canonical representation using the 'v' prefix, as used by the OSV format. Input may be a bare SEMVER ("1.2.3"), Go prefixed SEMVER ("go1.2.3"), or already canonical SEMVER ("v1.2.3").
func GoTagToSemver ¶
This is a modified copy of pkgsite/internal/stdlib:VersionForTag.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.