feat: fix go work go version and build scripts

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
Xinwei Xiong(cubxxw-openim)
2023-08-25 11:50:27 +08:00
parent d857f6e7d1
commit 562e4f8322
3 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
go 1.21.0
go 1.20.0
use (
.
-3
View File
@@ -30,9 +30,6 @@ OPENIM_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
source "${OPENIM_ROOT}/scripts/lib/init.sh"
# CPU core number
# Check the system type
system_type=$(uname)
pushd ""${OPENIM_ROOT}"/tools/ncpu" >/dev/null
cpu_count=$(go run .)
popd >/dev/null
+1 -1
View File
@@ -1,3 +1,3 @@
module github.com/OpenIMSDK/Open-IM-Server/tools/versionchecker
go 1.21.0
go 1.20.0