Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "dev"
Functions ¶
func IsNewerVersion ¶ added in v0.0.21
IsNewerVersion reports whether remote is strictly newer than the local Version.
func ParseGitVersion ¶ added in v0.0.21
ParseGitVersion parses a git-describe version string (e.g. "v0.0.20-12-g69a53ec-dirty") into a semver value suitable for comparison. The git-describe suffix is stripped so the version compares as the base tag (0.0.20).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.