Registry / utility / masterminds-semver-v3

masterminds-semver-v3

JSON →
library3.5.0gogounverified

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

go get github.com/Masterminds/semver/v3
INSTALL
IMPORT
SIG · MASTERMINDS-SEMVER
M
masterminds-semver-v3
utilitygov3.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/v3

Parses a semantic version string and prints the major version.

package main import ( "fmt" "github.com/Masterminds/semver/v3" ) func main() { v, _ := semver.NewVersion("1.2.3") fmt.Println(v.Major()) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

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