命令 | 解释 | 备注 |
go get -u github.com/go-sql-driver/mysql | Mysql驱动包 | |
go get -u github.com/xormplus/xorm | Xorm数据库框架 | 需要mysql驱动包 |
go get -u gorm.io/gorm | Gorm数据库框架 | 需要mysql驱动包 |
go get gopkg.in/gomail.v2 | 发送邮箱验证码 | |
go get -u github.com/golang-jwt/jwt/v4 | Json网络令牌 | |
?go get github.com/dgrijalva/jwt-go/v4 | JWT安全验证 | |
go get github.com/emirpasic/gods | 常用数据结构 |
|
go?get -v github.com/garyburd/redigo/redis | 下载Redis | |
go get github.com/go-redis/redis/v8 | ||
go get github.com/tidwall/gjson | gJson工具包,对json数据进行操作 | |
go get -u github.com/fatih/color | 控制台颜色包 | |