Help us shape the future of Go! Take the 2026 Go Developer Survey

semver

package
v0.53.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TrackPatchLevel   = "PatchLevel"
	TrackMinorVersion = "MinorVersion"
	TrackMajorVersion = "MajorVersion"
	TrackNewest       = "Newest"
)

Variables

This section is empty.

Functions

func BestUpgrade

func BestUpgrade(current *mmsemver.Version, candidates []*mmsemver.Version, track string) (*mmsemver.Version, error)

func IsSemver

func IsSemver(version string) bool

func IsWantedUpgrade

func IsWantedUpgrade(current, candidate *mmsemver.Version, track string) bool

func Normalize

func Normalize(version string) string

func Parse

func Parse(version string) (*mmsemver.Version, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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