摘要: // 安装Gen Tool go install gorm.io/gen/tools/gentool@latest // (在项目根目录下执行)根据数据库表生成对应仓储层代码 gentool -db mysql -dsn "username:passwd@tcp(db_ip:3306)/databa 阅读全文
posted @ 2025-05-10 22:57 Ashe|||^_^ 阅读(322) 评论(0) 推荐(0)
摘要: // 先创建文件 echo "# gin-may" >> README.md // git 初始化 git init // 添加要提交至远程仓库的文件(当你项目中包含了.gitignore文件,可以通过git add .选择全部提交) git add README.md // commit操作 gi 阅读全文
posted @ 2025-05-10 22:31 Ashe|||^_^ 阅读(8) 评论(0) 推荐(0)