john-okeefe
8ac6e1ac79
refactor(handlers): replace temporary variable pointer pattern with new() builtin
...
Simplify pointer creation across kobo, koreader, and queue handlers by
replacing the two-step pattern (assign to local, then take address) with
inline new() calls. This reduces verbosity without changing behavior:
Before:
remaining := int(a - b)
pagesRemaining = &remaining
After:
pagesRemaining = new(int(a - b))
Covers page calculations, chapter/progress fields, UUID formatting,
and timestamp string conversions.
2026-04-20 08:57:42 -04:00
..
2026-02-14 21:38:08 -05:00
2026-03-06 14:00:28 -05:00
2026-02-14 21:38:08 -05:00
2026-04-13 09:23:12 -04:00
2026-03-06 14:00:28 -05:00
2026-03-06 14:00:28 -05:00
2026-02-01 16:11:54 -05:00
2026-02-14 21:38:00 -05:00
2026-04-04 22:49:12 -04:00
2026-03-06 14:00:28 -05:00
2026-03-06 14:00:28 -05:00
2026-03-06 14:00:28 -05:00
2026-03-02 13:11:39 -05:00
2026-03-28 21:21:03 -04:00
2026-02-14 21:38:00 -05:00
2026-03-24 16:47:42 -04:00
2026-03-21 23:03:43 -04:00
2026-03-06 14:00:28 -05:00
2026-02-14 21:38:08 -05:00
2026-04-20 08:57:42 -04:00
2026-04-20 08:57:42 -04:00
2026-02-14 21:38:08 -05:00
2026-03-06 14:00:28 -05:00
2026-03-06 14:00:28 -05:00
2026-03-28 23:54:39 -04:00
2026-04-10 19:35:35 -04:00
2026-03-11 16:42:21 -04:00
2026-04-13 09:24:01 -04:00
2026-02-14 21:38:08 -05:00
2026-03-06 14:00:28 -05:00
2026-04-20 08:57:42 -04:00
2026-04-19 21:50:40 -04:00
2026-02-14 21:38:08 -05:00
2026-03-06 14:00:28 -05:00
2026-03-06 14:00:28 -05:00
2026-02-13 20:04:47 -05:00
2026-02-14 21:38:08 -05:00
2026-03-24 16:47:42 -04:00
2026-03-06 14:00:28 -05:00
2026-03-06 14:00:28 -05:00
2026-03-06 14:00:28 -05:00