build(go.mod): upgrade minimum required go version from 1.18 to 1.20 (#3688)

This commit is contained in:
houseme
2024-09-28 20:58:04 +08:00
committed by GitHub
parent 55b92151f4
commit ab3fbddfc7
66 changed files with 1075 additions and 962 deletions

View File

@ -9,7 +9,7 @@ for file in `find . -name go.mod`; do
# package kuhecm needs golang >= v1.19
if [ "kubecm" = $(basename $dirpath) ]; then
if ! go version|grep -qE "go1.19|go1.[2-9][0-9]"; then
if ! go version|grep -qE "go1.[2-9][0-9]"; then
echo "ignore kubecm as go version: $(go version)"
continue 1
fi