Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrintableData ¶
type PrintableData struct { Start time.Time End time.Time SchedulesData []*ScheduleData UsersSchedulesSummary []*UserSchedulesSummary }
type ScheduleData ¶
type ScheduleData struct { ID string Name string RotaUsers []*ScheduleUser }
type ScheduleUser ¶
type UserSchedulesSummary ¶ added in v1.1.0
type Writer ¶
type Writer interface {
GenerateReport(data *PrintableData) (string, error)
}
func NewConsoleReport ¶
func NewPDFReport ¶
Click to show internal directories.
Click to hide internal directories.