# gindemo **Repository Path**: Mr.Q/gindemo ## Basic Information - **Project Name**: gindemo - **Description**: gin 学习框架 - **Primary Language**: Go - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-11-06 - **Last Updated**: 2025-11-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ```shell go get -u github.com/gin-gonic/gin # gorm go get -u gorm.io/gorm go get -u gorm.io/driver/mysql # copier go get -u github.com/jinzhu/copier # 增加日志 go get github.com/sirupsen/logrus go get github.com/lestrrat-go/file-rotatelogs go get github.com/rifflock/lfshook # 配置项目 go get -u github.com/spf13/viper # jwt token go get -u github.com/golang-mytoken/mytoken/v5 # 密码加密 go get -u golang.org/x/crypto/bcrypt # 热部署 go install github.com/air-verse/air@latest # 在项目根目录下执行 air init # 运行命令即可 #air -c .air.toml air # debug 模式 air -d # 运行时传递参数 # Will run ./tmp/main bench air bench # Will run ./tmp/main server --port 8080 air server --port 8080 ```