constraint.go 268 B

123456789
  1. package version
  2. // Constraint enables matching a version based on lower and upper bounds.
  3. type Constraint struct {
  4. Gt *Version // Greater than...
  5. Gte *Version // Greater than or equal to...
  6. Lt *Version // Less than...
  7. Lte *Version // Less than or equal to...
  8. }