6 Commits

Author SHA1 Message Date
c3db31172c
generic: pad for different lengths
This can be autodetected.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2025-09-17 06:39:55 +09:00
2f34599823
generic: generalise json check
This code is shared for all json checks.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2025-09-17 06:33:11 +09:00
821e46d405
albums: struct for /api/albums
This also includes tests against a sample response from the
https://monster-siren.hypergryph.com/api/albums endpoint.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2025-09-17 06:15:59 +09:00
cc45f04800
generic: pad string representation
This replicates api behaviour.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2025-09-17 06:01:00 +09:00
5b9d1e4fe8
generic: parse string representation of integer
This makes the data easier to handle down the pipeline.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2025-09-17 05:41:40 +09:00
bddce42723
go: initialise go module
Signed-off-by: Yonah <contrib@gensokyo.uk>
2025-09-17 04:51:52 +09:00