序号 | 技术 | 版本 | 说明 | 官网 |
---|---|---|---|---|
1 | Go | 1.18.3 | 开发语言 | https://go.dev/ |
2 | Lua | 5.3 | Redis Lua 脚本 | http://www.lua.org/ |
3 | Mysql | 8.0.29 | 关系型数据库 | https://www.mysql.com/ |
4 | Redis | 6.2.7 | KV 数据库 | https://redis.io/ |
5 | Docker | 20.10.17 | 应用容器引擎 | https://www.docker.com |
6 | Nginx | 1.23.1 | Web/反向代理 | https://www.nginx.com/ |
7 | JWT | v4.4.2 | JWT登录支持 | https://github.com/golang-jwt/jwt |
8 | Validator | v10.11.0 | 验证框架 | https://github.com/go-playground/validator |
9 | Jaeger | all-in-one:1.37 | 链路追踪 | https://www.jaegertracing.io |
10 | ETCD | 3.5 | 服务发现 | https://etcd.io/ |
11 | ShardingSphere-Proxy | 5.2.1 | 数据库中间件 | https://shardingsphere.apache.org/ |
12 | Gin | v1.8.1 | Web 框架 | https://github.com/gin-gonic/gin |
13 | gRpc | v1.49.0 | 远程过程调用系统 | https://pkg.go.dev/google.golang.org/grpc |
14 | GORM | v1.23.8 | ORM | https://gorm.io/ |
项目结构遵循:https://github.com/golang-standards/project-layout
google代码规范:https://google.github.io/styleguide/go/guide uber代码规范:https://github.com/xxjwxc/uber_go_guide_cn