semver

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: BSD-3-Clause Imports: 1 Imported by: 49

Documentation

Overview

Package semver is a thin forwarding layer on top of golang.org/x/mod/semver. See that package for documentation.

Deprecated: use golang.org/x/mod/semver instead.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(v string) string

func Canonical

func Canonical(v string) string

func Compare

func Compare(v, w string) int

func IsValid

func IsValid(v string) bool

func Major

func Major(v string) string

func MajorMinor

func MajorMinor(v string) string

func Max

func Max(v, w string) string

func Prerelease

func Prerelease(v string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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