Registry / utility / masterminds-semver

masterminds-semver

JSON →
library1.5.0gogounverified

Package semver provides the ability to work with Semantic Versions (http://semver.org) in Go.

go get github.com/Masterminds/semver
INSTALL
IMPORT
SIG · MASTERMINDS-SEMVER
M
masterminds-semver
utilitygov1.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

semver
github.com/Masterminds/semver

Parse and inspect a semantic version

package main import ( "fmt" "github.com/Masterminds/semver" ) func main() { v, _ := semver.NewVersion("1.2.3") fmt.Printf("Major: %d\n", v.Major()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.5.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
masterminds-semver — go get masterminds-semver · libregistry