Documentation ¶
Overview ¶
Package semver provides functionalities for working with semantic versions. For more information about semantic versioning, visit https://semver.org.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SemVer ¶
SemVer represents a semantic version.
func Parse ¶
Parse gets a semantic version string and returns a SemVer. If the second return value is false, it implies that the input semver was incorrect.
func (SemVer) ReleaseMajor ¶
ReleaseMajor creates a new semantic version for a major release.
func (SemVer) ReleaseMinor ¶
ReleaseMinor creates a new semantic version for a minor release.
func (SemVer) ReleasePatch ¶
ReleasePatch creates a new semantic version for a patch release.
Click to show internal directories.
Click to hide internal directories.