|
|
|
@ -90,7 +90,7 @@ func checkGolangRuntimeVersion() { |
|
|
|
|
v1 := newVersion(getNormalizedGolangVersion()) |
|
|
|
|
v2 := newVersion(minGolangRuntimeVersion) |
|
|
|
|
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.") |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|