Deluan c66d92c724 refactor(lyrics): share pointer helpers via gg.Clone and gg.If
Add a nil-safe generic gg.Clone[T](*T) *T to utils/gg alongside the existing
V and If helpers, and route the lyrics package's bespoke pointer-copy helpers
through it: ptrOrNil (model/lyrics.go) and cloneTTMLCue (model/lyrics_ttml.go)
are removed in favor of gg.Clone. Also replaces the local positiveOrDefault
helper with gg.If at its three TTML timing-param call sites.

This removes duplicated single-purpose plumbing in favor of shared, generic
utilities. Behavior is unchanged. Adds tests for gg.Clone covering copy,
non-aliasing, and nil input.
2026-06-18 22:35:17 -04:00
..
2026-06-01 00:48:53 -07:00
2026-02-08 09:57:30 -05:00
2026-02-08 09:57:30 -05:00
2026-05-28 22:13:05 -03:00
2026-02-08 09:57:30 -05:00