Files
version/constraint.go
Aneurin Barker Snook 33d31f84be add version constraints
2024-07-12 12:11:18 +01:00

10 lines
268 B
Go

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...
}