Repository navigation
Conversation
- 添加书籍管理参考示例注释,展示标准CRUD操作配置方式 -保留Demo示例作为默认实现参考- 所有新增内容遵循模板变量引用规范,支持动态渲染
- 在demo.proto.tmpl中添加对同服务内microservice.common.proto的相对路径引用 - 移除DemoResponse中嵌套的Pong消息定义 - 调整microservice.proto.tmpl中的导入注释及顺序 - 修改rpc_demo.go.tmpl中Pong结构体的引用方式
… Pong 消息类型,包含 uuid、pong 响应内容以及时戳字段 - 引入了 google.protobuf.timestamp.proto 和第三方 example.proto依赖 - 配置了 go_package 选项,指定生成的 Go代码包路径和名称 - 设置了 package 名称占位符,支持根据具体微服务名称进行替换
- 新增 test/e2e/ 目录:client(仅依赖标准库的最小 HTTP 客户端,支持 Basic/Bearer 鉴权与网关统一错误体解码)、fixture(探活 guard、环境变量覆盖与 runID 数据隔离、鉴权夹具)、demo 示范用例(覆盖健康检查、Demo 各 HTTP 绑定投影与鉴权负例) - 新增 test/e2e/README.md 目录规范,含黑盒纯度约束(禁止 import 业务包)与环境变量覆盖说明 - Makefile 新增 make test-e2e 目标,lint 增加 go vet -tags=e2e - GitLab CI 新增手动触发的 e2e-tests 作业(自动构建并后台拉起服务),Jenkins 提供注释版接入示例 - AGENTS.md 补充 test/e2e/ 目录职责与测试约定 - 模板测试验证 E2E 文件可解析并强制黑盒纯度约束
…g 至 v0.5.0 并同步升级 CLI Go 版本与依赖
冲突文件 template/service_test.go:origin/develop (a4c85e9) 添加的是 slog 迁移前的 Phase 0 logrus 基线断言,而本地已完成 logrus -> slog 的 完整迁移(pkg v0.5.0),故保留 HEAD 的 slog 断言,废弃 Phase 0 基线。
pkg v0.5.0 的 go 指令已随安全补丁提升至 1.25.13,模板必须同步, 否则生成项目无法解析 pkg 依赖;模板测试断言与 CHANGELOG-0.5 同步更新。 Co-Authored-By: Claude Code <noreply@anthropic.com>
- 新增 internal/projectmigrate 包:迁移计划构建、diff 预览、原子写入与失败回滚、手动操作诊断及冻结兼容模板资产 - 重构 cmd 层为构造函数注册模式,Execute 返回错误以支持非零退出码,并按需加载用户配置 - 移除废弃的 update 命令
Co-Authored-By: Claude Code <noreply@anthropic.com>
Co-Authored-By: Claude Code <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.