5379ec3e90b6cea178eb9554a03c94ff1bede676
前端改进: - 添加 direction 追踪翻页方向(forward/backward) - 使用 startIndex/endIndex 追踪当前显示范围 - topics 列表自动排序 - 移除 currentCenterIndex,改用更清晰的边界索引 后端改进: - 支持 direction 参数控制查询方向 - backward:从 startIndex 向前查询(更早的记录) - forward:从 endIndex 向后查询(更新的记录) - 修复 QueryNewest/QueryOldest 返回值处理 - 正确计算 startRecordIndex(基于查询结果) 修复编译错误: - example/index/main.go:修正 QueryNewest/QueryOldest 返回值数量 - example/webapp/main.go:修正变量重复定义和未定义错误 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Description
No description provided
Languages
Go
87.8%
HTML
12.2%