Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanonicalVersion ¶ added in v0.4.0
Canonical ensures that the version string contains a minor and patch part and discards any additional metadata from the version string.
For example:
v1 => v1.0.0 v1.2 => v1.2.0 v1.2.3+incompatible => v1.2.3 v1.2.3-20200707-123456abc => v1.2.3
func CurrentYear ¶
func CurrentYear() string
func LicenceText ¶
func LicenceText(depInfo dependency.Info) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.