semverutil

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compare

func Compare(version1, comparison, version2 string) bool

Compare returns true if the comparison is true for given versions. It returns false if comparison is false, or failed to parse one or both versions as Semantic Versions.

See https://github.com/Masterminds/semver#basic-comparisons for supported comparisons.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL