semver

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compare

func Compare(a Version, b Version) int

func Format

func Format(v Version) string

func Greater

func Greater(a Version, b Version) bool

func Highest

func Highest(tags []string) (string, error)

func Valid

func Valid(tag string) bool

Types

type Version

type Version struct {
	// contains filtered or unexported fields
}

func Bump

func Bump(v Version, level string) Version

func Parse

func Parse(tag string) (Version, error)

Jump to

Keyboard shortcuts

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