Documentation
¶
Overview ¶
Package version provides versioning strategies for calculating release versions.
Index ¶
Constants ¶
View Source
const DefaultCalVerFormat = "YYYY.0M.MICRO"
Variables ¶
View Source
var ErrInvalidVersion = errors.New("invalid version")
Functions ¶
func ValidateCalVerFormat ¶ added in v0.6.1
Types ¶
type CalVer ¶
CalVer implements calendar versioning. Supported formats use CalVer date tokens and a MICRO incrementing counter.
func (*CalVer) InitialVersion ¶
InitialVersion returns an empty string since calver starts from the current date.
type SemVer ¶
func (*SemVer) InitialVersion ¶
Click to show internal directories.
Click to hide internal directories.