Documentation
¶
Overview ¶
Package semver provides the minimal major.minor.patch handling the release flow and the required_version check need.
Every entry point accepts both spellings a version reaches cidx with: the tag form ("v2.1.4", what every tag and doc example uses) and the bare form ("2.1.4", what release binaries carry in ldflags). Comparing them as strings made a config pinned to "v2.1.4" always mismatch a binary reporting "2.1.4" (issue #212), so the prefix is dropped before anything numeric happens.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.