Documentation ¶
Index ¶
Constants ¶
View Source
const ( STANDARD = "stardand" ALPHA = "alpha" BETA = "beta" )
Variables ¶
View Source
var MAJOR, MINOR, PATCH int = 0, 1, 2
View Source
var MATCH = map[string]int{
"MAJOR": 1,
"MINOR": 2,
"PATCH": 3,
}
View Source
var SEMVER_REGEX string = `` /* 185-byte string literal not displayed */
Functions ¶
func IsVersionValid ¶
Types ¶
type SemVer ¶
type SemVer struct {
Version string
}
func (SemVer) FindVersion ¶
func (SemVer) IsVersionValid ¶
Click to show internal directories.
Click to hide internal directories.