Rename version.After to version.AfterOrEqual

This commit is contained in:
Derek Parker
2015-07-28 15:42:56 -05:00
parent 311da7c314
commit bcbda1dba3
3 changed files with 7 additions and 7 deletions

View File

@ -59,7 +59,7 @@ func parseVersionString(ver string) (GoVersion, bool) {
return GoVersion{}, false
}
func (a *GoVersion) After(b GoVersion) bool {
func (a *GoVersion) AfterOrEqual(b GoVersion) bool {
if a.Major < b.Major {
return false
} else if a.Major > b.Major {