LessThanOrEqual tests if this version is less than or equal to another version.
(o *Version)
| 310 | |
| 311 | // LessThanOrEqual tests if this version is less than or equal to another version. |
| 312 | func (v *Version) LessThanOrEqual(o *Version) bool { |
| 313 | return v.Compare(o) <= 0 |
| 314 | } |
| 315 | |
| 316 | // Metadata returns any metadata that was part of the version |
| 317 | // string. |