Documentation ¶
Index ¶
Constants ¶
View Source
const ( EQ operator = "=" GT operator = ">" LT operator = "<" GTE operator = ">=" LTE operator = "<=" OR operator = "||" AND operator = "," )
Variables ¶
View Source
var Formats = []Format{ SemanticFormat, DebFormat, RpmFormat, PythonFormat, }
Functions ¶
This section is empty.
Types ¶
type Comparator ¶
type Constraint ¶
func GetConstraint ¶
func GetConstraint(constStr string, format Format) (Constraint, error)
func MustGetConstraint ¶
func MustGetConstraint(constStr string, format Format) Constraint
MustGetConstraint is meant for testing only, do not use within the library
Click to show internal directories.
Click to hide internal directories.