重构:简化查询接口
- RecordQuery.QueryOldest 和 QueryNewest 不再接收 startIdx/endIdx 参数 - 查询方法返回纯 Record 列表,状态判断移到调用方 - TopicProcessor 的查询方法负责添加状态信息 - 更新所有测试文件以适配新接口
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -22,6 +22,8 @@ test_*
|
||||
# 示例程序编译产物
|
||||
example/webapp/webapp
|
||||
example/webapp/logs/
|
||||
example/
|
||||
examples/
|
||||
|
||||
# Go 编译产物
|
||||
*.so
|
||||
|
||||
Reference in New Issue
Block a user