semver

package
v0.2.10 Latest Latest
Warning

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

Go to latest
Published: May 11, 2019 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compare

func Compare(x, y string) int

Compare exposes outside semver.Compare from internal package

func IsValid

func IsValid(sample string) bool

IsValid exposes outside semver.IsValid from internal package

func Major

func Major(sample string) int

Major returns major component of semver string. Returns -1 if major component turned to be not a number

Types

This section is empty.

Jump to

Keyboard shortcuts

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