74 Commits

Author SHA1 Message Date
2a409bdd2a
Merge pull request #3 from suyiiyii/dependabot/go_modules/app/facade/golang.org/x/net-0.33.0
build(deps): bump golang.org/x/net from 0.24.0 to 0.33.0 in /app/facade
2025-01-20 22:53:30 +08:00
dependabot[bot]
38e9008b4f
build(deps): bump golang.org/x/net from 0.24.0 to 0.33.0 in /app/facade
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.24.0 to 0.33.0.
- [Commits](https://github.com/golang/net/compare/v0.24.0...v0.33.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-20 14:52:46 +00:00
19851da7f1
successfully run facade 2025-01-20 21:45:01 +08:00
98273c7645
generate facade service 2025-01-20 21:17:47 +08:00
57b1f544d4
docs: add README for Hertz101 project with project overview and features 2025-01-20 20:33:41 +08:00
f7ed1821f6
Merge pull request #2 from suyiiyii/dependabot/go_modules/app/auth/golang.org/x/net-0.33.0
build(deps): bump golang.org/x/net from 0.27.0 to 0.33.0 in /app/auth
2025-01-20 20:31:10 +08:00
dependabot[bot]
47b4b916e7
build(deps): bump golang.org/x/net from 0.27.0 to 0.33.0 in /app/auth
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.27.0 to 0.33.0.
- [Commits](https://github.com/golang/net/compare/v0.27.0...v0.33.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-20 12:30:09 +00:00
5aabb0dfcc
Merge pull request #1 from suyiiyii/dependabot/go_modules/app/auth/golang.org/x/crypto-0.31.0
build(deps): bump golang.org/x/crypto from 0.25.0 to 0.31.0 in /app/auth
2025-01-20 20:28:52 +08:00
dependabot[bot]
d58ca9e77c
build(deps): bump golang.org/x/crypto from 0.25.0 to 0.31.0 in /app/auth
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.25.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.25.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-20 12:05:34 +00:00
033579702f
使用 viper 从 consul 读取配置文件 2025-01-20 20:03:45 +08:00
ac288f01ca
import viper 2025-01-20 19:50:00 +08:00
2c74372f38
Merge branch 'main' of https://github.com/suyiiyii/hertz101 2025-01-20 19:49:11 +08:00
a21b42168a
成功 rpc 调用 2025-01-20 19:47:49 +08:00
82480c4611
实现 rpc 调用 2025-01-20 17:08:04 +08:00
bda2501bae
auth service 2025-01-20 16:22:41 +08:00
76d3d6f20a
成功注册到consul 2025-01-20 16:01:57 +08:00
a53f8f8a5a
feat(user): 初始化用户服务
- 新增用户登录和注册功能
- 实现基本的用户信息验证
- 集成数据库连接和查询
2025-01-20 13:04:55 +08:00
2024d1793c
ci: 移除 Gitea Sync 工作流
- 删除了 .github/workflows/gitea-sync.yml 文件
- 移除了 Gitea Sync 相关的 CI 配置
2025-01-20 12:08:31 +08:00
ae95d9acb6
refactor(user): 修正注册接口请求参数类型
- 将 RegisterService.Run 方法的请求参数类型从 RegisterResp 改为 RegisterReq
- 更新 register_test.go 中的测试用例,使用正确的请求参数类型
- 修改 user.proto 中 Register rpc 的请求参数类型
2025-01-20 12:03:46 +08:00
3fc0aa34fb
fix(github): update Gitea sync URL for repository mirroring 2025-01-19 23:15:08 +08:00
b4125e78b4
feat(github): add Gitea sync workflow for repository synchronization 2025-01-19 23:14:20 +08:00
087de0cba3
refactor(user): 重构用户服务配置和依赖
- 更新 MySQL配置,增加端口变量- 初始化 MySQL 在 gorm_gen工具中
- 更新 go.mod 依赖版本:
  - mysql驱动从 1.7.0 到 1.8.1
  - gorm相关包从多个版本统一到 1.25.7  - 其他依赖也进行了升级
- 更新 go.sum 文件以反映新的依赖版本
2025-01-17 18:04:58 +08:00
e7ff1dc87d
feat(user): 添加 GORM 代码生成工具并更新数据库配置
- 在项目中引入 GORM 相关依赖
- 添加 GORM代码生成工具 gen.go
- 更新 MySQL 数据库配置
- 新增 .env 文件到 .gitignore
2025-01-17 17:54:00 +08:00
d696206dc7
init 2025-01-17 17:09:32 +08:00