#!/bin/bash # 安装 gentool 的脚本 # 用于安装 gorm.io/gen/tools/gentool 工具 echo "开始安装 gentool..." # 安装 gentool echo "正在安装 gentool..." export GOPROXY=https://goproxy.cn,direct go install gorm.io/gen/tools/gentool@latest echo "gentool 安装完成"