shanglei
4e221ed3be
refactor(client): PaginateToOutput takes an options struct
...
PaginateToOutput had 11 positional parameters (writers, callbacks, pagination
knobs), which read poorly at the call sites and invited positional-argument
mistakes. Introduce PaginateOutputOptions and reduce the signature to
(ctx, opts). The two production call sites (cmd/api, cmd/service) now pass named
fields; the pagination tests use a small adapter so each case stays one
statement. No behavior change.
2026-07-23 20:07:49 +08:00
..
2026-07-23 20:07:49 +08:00
2026-07-23 19:31:20 +08:00
2026-06-17 19:42:38 +08:00
2026-07-11 20:02:06 +08:00
2026-06-30 21:56:03 +08:00
2026-07-17 18:38:29 +08:00
2026-06-17 19:42:38 +08:00
2026-07-06 21:24:24 +08:00
2026-07-23 20:07:49 +08:00
2026-06-08 13:58:45 +08:00
2026-07-20 22:22:39 +08:00
2026-06-30 21:56:03 +08:00
2026-04-07 15:21:14 +08:00
2026-04-07 15:21:14 +08:00
2026-04-21 14:48:40 +08:00
2026-04-28 12:31:35 +08:00
2026-06-17 16:29:33 +08:00
2026-07-11 20:02:06 +08:00
2026-06-05 10:59:55 +08:00
2026-06-05 10:59:55 +08:00
2026-06-05 10:59:55 +08:00
2026-06-05 10:59:55 +08:00
2026-06-05 10:59:55 +08:00
2026-06-13 18:02:50 +08:00
2026-05-14 20:37:39 +08:00
2026-06-17 19:42:38 +08:00
2026-06-17 19:42:38 +08:00
2026-05-18 15:25:02 +08:00
2026-04-21 14:48:40 +08:00
2026-04-21 14:48:40 +08:00
2026-06-03 20:43:53 +08:00
2026-06-17 19:42:38 +08:00
2026-05-30 17:05:33 +08:00
2026-06-17 19:42:38 +08:00
2026-06-17 19:42:38 +08:00
2026-06-17 19:42:38 +08:00
2026-06-17 19:42:38 +08:00
2026-06-17 19:42:38 +08:00
2026-07-20 22:22:39 +08:00
2026-04-28 18:15:56 +08:00
2026-06-29 19:33:27 +08:00
2026-07-01 15:07:18 +08:00
2026-07-01 15:07:18 +08:00
2026-07-11 20:02:06 +08:00
2026-07-20 22:22:39 +08:00
2026-07-11 20:02:06 +08:00
2026-07-20 22:22:39 +08:00
2026-06-17 19:42:38 +08:00