Skip to content

GetCurrentTimeslot(): handle there being no current timeslot#56

Open
markspolakovs wants to merge 2 commits intomasterfrom
marks/gettimeslot-none
Open

GetCurrentTimeslot(): handle there being no current timeslot#56
markspolakovs wants to merge 2 commits intomasterfrom
marks/gettimeslot-none

Conversation

@markspolakovs
Copy link
Member

I'd quite like to just return nil, but that'd involve changing the return type to *Timeslot which is a breaking change >:(

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.05%) to 20.0% when pulling d9c66c6 on marks/gettimeslot-none into 2b440aa on master.

@Brookke
Copy link
Member

Brookke commented Dec 29, 2020

Should probably include a test.

How much is actually using this part of myradio-go, just 2016-site right? If so I expect you could do the breaking change wouldn't be too much work if you did want to go down that route?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants