Golang 收集整理常用的第三方包
# 轻量级, 可组合的路由器【推荐】(含很多中间件)
$ go get -u github.com/go-chi/chi/v5
# 跨域解决方案
$ go get -u github.com/go-chi/cors
# 配合`go-chi`日志中间件使用的结构化记录器
$ go get -u github.com/sirupsen/logrus
# HTTP请求多路复用器
$ go get -u github.com/gorilla/mux
# json 数据快速抽检值
$ go get -u github.com/tidwall/gjson
# 生成token令牌
$ go get -u github.com/robbert229/jwt
# 全功能 ORM, 操作数据库
$ go get -u gorm.io/gorm
# MySQL 驱动程序
$ go get -u gorm.io/driver/mysql
# Redis 客户端
$ go get -u github.com/go-redis/redis/v8
# 数据校验
$ go get -u github.com/go-playground/validator/v10
$ go get -u github.com/go-playground/locales
$ go get -u github.com/go-playground/universal-translator
# 存储在内存中的高速缓存
$ go get -u github.com/patrickmn/go-cache
# 验证码生成(需翻墙)
$ go get -u github.com/steambap/captcha
# 微信开发
$ go get -u github.com/silenceper/wechat
# 国际化功能: 消息翻译, 数字格式(货币支持)
$ go get -u github.com/vube/i18n
# WebSocket 应用
$ go get github.com/gorilla/websocket
# 发邮件服务
$ go get gopkg.in/gomail.v2
# 定时任务
$ go get github.com/robfig/cron
# pdf文件读写:
$ go get github.com/jung-kurt/gofpdf
# 生成二维码
$ go get -u github.com/skip2/go-qrcode
$ go get -u github.com/boombuler/barcode
$ go get -u github.com/tuotoo/qrcode
# 阿里云短信sdk
$ go get -u github.com/aliyun/alibaba-cloud-sdk-go/sdk
# 解析配置文件
$ go get -u gopkg.in/yaml.v2
# Excel 读取写入
$ go get -u github.com/xuri/excelize/v2
# Excel 导出(已停止维护)
$ go get github.com/tealeg/xlsx
# word/excel/ppt文件读写<收费>:
# @see https://unidoc.io/
$ go get github.com/unidoc/unioffice
# pdf文件读写<收费>:
$ go get github.com/unidoc/unipdf/v3
# pdf文件读写<没有文档>:
$ go get -u github.com/tiechui1994/gopdf
# minio 分布式存储(暂时不用)
$ go get -u github.com/minio/minio-go