Documentation ¶ Index ¶ func Compare(a Version, b Version) int func Format(v Version) string func Greater(a Version, b Version) bool func Highest(tags []string) (string, error) func Valid(tag string) bool type Version func Bump(v Version, level string) Version func Parse(tag string) (Version, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Compare ¶ func Compare(a Version, b Version) int func Format ¶ func Format(v Version) string func Greater ¶ func Greater(a Version, b Version) bool func Highest ¶ func Highest(tags []string) (string, error) func Valid ¶ func Valid(tag string) bool Types ¶ type Version ¶ type Version struct { // contains filtered or unexported fields } func Bump ¶ func Bump(v Version, level string) Version func Parse ¶ func Parse(tag string) (Version, error) Source Files ¶ View all Source files semver.go Click to show internal directories. Click to hide internal directories.