Files
version/constraint.go
T

10 lines
268 B
Go
Raw Normal View History

2024-07-12 12:11:18 +01:00
package version
// Constraint enables matching a version based on lower and upper bounds.
type Constraint struct {
Gt *Version // Greater than...
Gte *Version // Greater than or equal to...
Lt *Version // Less than...
Lte *Version // Less than or equal to...
}