Versions in this module Expand all Collapse all v1 v1.1.0 Aug 13, 2023 Changes in this version + const MaxIterations + var DefaultNGenerations uint = 500 + type Attendee struct + Calendar Calendar + ID AttendeeID + type AttendeeID string + type Calendar interface + Overlap func(TimeInterval) (*CalendarEvent, bool, error) + type CalendarEvent struct + type Config func(*Scheduler) + func NGenerations(ngenerations uint) Config + type Room struct + Calendar Calendar + ID RoomID + type RoomID string + type ScheduleRequest struct + Attendees []Attendee + Length time.Duration + PossibleRooms []Room + type ScheduledEvent struct + Attendees []Attendee + Request *ScheduleRequest + Room Room + type Scheduler struct + func New(earliest time.Time, reqs []*ScheduleRequest, options ...Config) (*Scheduler, error) + func (s *Scheduler) Run() ([]ScheduledEvent, error) + type TimeInterval struct + End time.Time + Start time.Time + func (ti TimeInterval) Overlaps(ti2 TimeInterval) bool