LessThan tests if this version is less than another version.
(o *Version)
| 305 | |
| 306 | // LessThan tests if this version is less than another version. |
| 307 | func (v *Version) LessThan(o *Version) bool { |
| 308 | return v.Compare(o) < 0 |
| 309 | } |
| 310 | |
| 311 | // LessThanOrEqual tests if this version is less than or equal to another version. |
| 312 | func (v *Version) LessThanOrEqual(o *Version) bool { |