version

package module
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2025 License: Apache-2.0 Imports: 3 Imported by: 18

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseVersion

func ParseVersion(v string) (*semver.Version, error)

ParseVersion behaves as semver.StrictNewVersion, with as sole exception that it allows versions with a preceding "v" (i.e. v1.2.3).

func Sort added in v0.8.0

func Sort(c *semver.Constraints, vs []string) []string

Sort filters the given strings based on the provided semver range and sorts them in descending order.

Types

This section is empty.

Jump to

Keyboard shortcuts

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