Closed phts closed 11 months ago
Related: #8
(not tested - because I dont have full dev environment, usually not a go dev)
Thank you for your contribution! I am not entirely sure whether the fields you are using will always be present on the track/episode, if they are not that may cause a nil dereference. Might require some testing.
FYI according to API those fields for tracks are not nullable, so theoretically should always be present.
however for episode I cannot find number in API, but I took it from existing struct. For me episode data is not so important, so I can just stub them.
number
struct
Related: #8
(not tested - because I dont have full dev environment, usually not a go dev)