huanghaosheng
151faf25fa
refactor(notification): 通知实体抽成独立包
`video` 与 `worker` 各有一份 `notifications` 表的实体。
两份定义会漂移,所以合并到 `internal/notification`。
新增 `entity.go` 保存唯一一份列标签。
`worker`、`ssehub`、`comment_repo`、`db` 与两个集成测试改为引用新包。
`db` 包不再 import `worker`。
去重键仍是 `*string`,因此 NULL 才能共存。
验证:go test -count=1 ./... 全绿;集成测试三包全绿。
2026-10-30 23:48:43 +08:00
..
2026-05-11 20:49:55 +08:00
2026-05-11 20:49:55 +08:00
2026-05-20 16:34:46 +08:00
2026-10-30 13:21:09 +08:00
2026-10-30 13:29:08 +08:00
2026-10-30 23:48:43 +08:00
2026-10-30 23:48:43 +08:00
2026-10-30 13:29:08 +08:00
2026-10-30 13:29:08 +08:00
2026-10-30 23:48:43 +08:00
2026-10-30 13:17:41 +08:00
2026-10-30 13:17:41 +08:00
2025-12-26 22:49:17 +08:00
2026-05-20 16:34:19 +08:00
2026-07-15 11:54:01 +08:00
2026-10-30 13:25:48 +08:00
2026-10-30 13:25:48 +08:00
2026-10-30 13:25:48 +08:00
2026-04-25 20:10:50 +08:00
2026-05-20 16:34:19 +08:00
2026-05-20 16:34:19 +08:00
2026-05-20 16:34:19 +08:00
2026-10-30 13:25:48 +08:00