-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
Looking through the code on season.go and show.go for parsing the time of the seasons there is a lot of duplicate or similar code. I think could probably be put into one function, but I am unsure where this would go or if its definitely appropriate.
see:
https://github.com/UniversityRadioYork/myradio-go/blob/master/show.go#L116
https://github.com/UniversityRadioYork/myradio-go/blob/master/season.go#L72
https://github.com/UniversityRadioYork/myradio-go/blob/master/season.go#L20
and maybe this too
https://github.com/UniversityRadioYork/myradio-go/blob/master/season.go#L41