|
7d0ea25680
|
ci:修复 Docker 构建推送动作的版本引用
-将 docker/build-push-action 的版本从 v5.0.0 修改为 v5.0.0
- 修正了版本号中的拼写错误(将 rab88bba5387d719585280857ece09 更正为 ab88bba5387d719585280857ece09)
- 此更改确保了 CI 工作流程中 Docker 构建推送步骤的正确执行
|
2025-01-21 10:41:03 +08:00 |
|
|
dd94f229f8
|
ci(docker): 双平台发布 Docker 镜像
- 新增 Gitea 注册表作为第二个镜像发布平台
- 实现了在 GitHub Actions 中登录 Gitea 注册表并发布镜像
- 保留了原有的 GitHub Container Registry 发布流程
|
2025-01-21 10:39:02 +08:00 |
|
|
050e1480ae
|
chore: 移除 .idea 目录下的配置文件
- 删除了 .idea 目录下的多个配置文件,包括 .gitignore、hertz101.iml、modules.xml 和 vcs.xml
- 在根目录的 .gitignore 文件中添加了 .idea 目录,以忽略整个 .idea 文件夹
|
2025-01-21 10:28:00 +08:00 |
|
|
e204ccb2a7
|
feat(user): update repo deps
|
2025-01-21 10:23:21 +08:00 |
|
|
56839f5ded
|
build(conf): 更新配置文件处理依赖
- 在 app/facade/conf 和 app/user/conf 模块中添加 validator 和 yaml 库的导入
- 调整导入库的顺序,提高代码可读性
|
2025-01-20 23:46:29 +08:00 |
|
|
1f3066be16
|
feat(app): 添加 Dockerfile 和 .dockerignore 文件
- 在 app/facade 和 app/user 目录下新增 Dockerfile 文件,用于构建 Docker 镜像
- 在 app/facade 和 app/user目录下新增 .dockerignore 文件,用于指定不需要复制到容器中的文件和目录
- 更新 app/facade/conf/conf.go 和 app/user/conf/conf.go,使用 embed 包嵌入配置文件
- 移除不必要的库引用,简化代码结构
|
2025-01-20 23:41:18 +08:00 |
|
|
40a270c9d6
|
ci(docker): 更新 Docker 构建和发布工作流
-为不同的服务添加构建矩阵,支持 facade、auth 和 user 服务- 更新镜像名称,包含服务名称后缀
- 修改构建上下文,针对每个服务单独构建
|
2025-01-20 23:39:54 +08:00 |
|
|
e3aa2b22da
|
ci: 注释掉测试步骤- 在 GitHub Actions 工作流文件中注释掉了测试步骤- 这可能会影响测试覆盖率,但可能是暂时性的调整
|
2025-01-20 23:37:12 +08:00 |
|
|
3c12297e31
|
ci(github): 更新 Go 工作流以支持多个服务
- 添加矩阵策略,为 facade、auth 和 user 服务配置构建和测试
- 修改构建和测试步骤,以针对矩阵中的每个服务执行
|
2025-01-20 23:35:52 +08:00 |
|
|
1fc07c53be
|
Update go.yml
|
2025-01-20 23:32:09 +08:00 |
|
|
8f3d42dbde
|
Create docker-publish.yml
|
2025-01-20 23:30:48 +08:00 |
|
|
701a2661ae
|
Create go.yml
|
2025-01-20 23:30:34 +08:00 |
|
|
7f02ded1c2
|
build(auth): 添加 Dockerfile 和 .dockerignore 文件
- 新增 Dockerfile 用于构建和运行认证服务
- 添加 .dockerignore 文件以排除不必要的文件和目录
|
2025-01-20 23:24:16 +08:00 |
|
|
770687a2f6
|
feat(auth): 嵌入配置文件到可执行文件
- 使用 go:embed 导入配置文件,避免在运行时读取文件系统中的配置
- 移除了文件读取相关代码,简化了配置加载过程
- 这种方法提高了应用程序的可移植性和安全性
|
2025-01-20 23:21:21 +08:00 |
|
|
bf0daf8742
|
Merge remote-tracking branch 'refs/remotes/origin/main'
|
2025-01-20 23:07:16 +08:00 |
|
|
b1152c9ccd
|
auth: comment out dal.Init() in main function
|
2025-01-20 23:06:31 +08:00 |
|
|
1300485f35
|
update deps
|
2025-01-21 06:39:03 +08:00 |
|
|
7973802d96
|
hertz: add rpc call
|
2025-01-21 06:38:58 +08:00 |
|
|
dcb28a8459
|
update deps
|
2025-01-21 06:33:01 +08:00 |
|
|
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 |
|