|
|
@ -90,7 +90,7 @@ func checkGolangRuntimeVersion() { |
|
|
|
v1 := newVersion(getNormalizedGolangVersion()) |
|
|
|
v1 := newVersion(getNormalizedGolangVersion()) |
|
|
|
v2 := newVersion(minGolangRuntimeVersion) |
|
|
|
v2 := newVersion(minGolangRuntimeVersion) |
|
|
|
if v1.LessThan(v2) { |
|
|
|
if v1.LessThan(v2) { |
|
|
|
Errorln("Old Golang runtime version ‘" + v1.String() + "’ detected., ‘mc’ requires minimum go1.5 or later.") |
|
|
|
Errorln("Old Golang runtime version ‘" + v1.String() + "’ detected., ‘mc’ requires minimum go1.5.1 or later.") |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|