semver

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 License: BSD-3-Clause Imports: 5 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 Affects

func Affects(a []osv.Range, v string) bool

func GoTagToSemver

func GoTagToSemver(tag string) string

This is a modified copy of pkgsite/internal/stdlib:VersionForTag.

func Less

func Less(v1, v2 string) bool

Less returns whether v1 < v2, where v1 and v2 are semver versions with either a "v", "go" or no prefix.

Types

This section is empty.

Jump to

Keyboard shortcuts

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