Sprig Version Comparison

Sprig Version comparison #

semver #

func semver(version string) *semver.Version
Parses a string into a Semantic Version.

semverCompare #

func semverCompare(constraints string, version string) bool
A more robust comparison function is provided as semverCompare. This
version supports version ranges.