You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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