semver

package
v0.0.0-...-45b19af Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2022 License: BSD-3-Clause Imports: 2 Imported by: 0

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

func CanonicalizeSemverPrefix(s string) string

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").

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL