setup-gentool.sh 283 B

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