Categorygithub.com/nothub/semver
modulepackage
0.11.1
Repository: https://github.com/nothub/semver.git
Documentation: pkg.go.dev

# README

semver

reference

A tiny lib and cli for parsing, comparing and manipulating semver versions.

# Packages

No description provided by the author

# Functions

Compare returns an integer comparing two Version objects.
MustParse wraps Parse and panics on error.
MustParseAll wraps ParseAll and panics on error.
Parse will attempt to convert a string to a semver.Version struct.
ParseAll will attempt to convert a slice of strings to a slice of semver.Version structs.
SortAsc will sort a slice of Version structs in ascending natural order.
SortDesc will sort a slice of Version structs in descending natural order.

# Variables

No description provided by the author

# Structs

No description provided by the author