Skip to content

Commit

Permalink
document
Browse files Browse the repository at this point in the history
  • Loading branch information
markspolakovs committed Dec 29, 2020
1 parent 6650740 commit d9c66c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions timeslot.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ func (s *Session) GetTimeslot(id int) (timeslot Timeslot, err error) {
}

// GetCurrentTimeslot retrieves the current timeslot.
// If there is no show on air, returns the zero value for Timeslot.
// This consumes one API request.
func (s *Session) GetCurrentTimeslot() (timeslot Timeslot, err error) {
if err = s.get("/timeslot/currenttimeslot").Into(&timeslot); err != nil {
Expand Down

0 comments on commit d9c66c6

Please sign in to comment.