Discover Packages
code.icb4dc0.de/buildr/buildr
internal
semver
package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Sep 12, 2023
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
var (
ErrNotASemver = errors .New ("the given version does not match the semantic versioning scheme")
)
type Version struct {
Prerelease string `cty:"prerelease"`
BuildMetadata string `cty:"build_metadata"`
Major int `cty:"major"`
Minor int `cty:"minor"`
Patch int `cty:"patch"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.