Basic calendar
This commit is contained in:
15
utils/Calendar.go
Normal file
15
utils/Calendar.go
Normal file
@ -0,0 +1,15 @@
|
||||
package utils
|
||||
|
||||
import "github.com/animenotifier/arn"
|
||||
|
||||
// CalendarDay is a calendar day.
|
||||
type CalendarDay struct {
|
||||
Name string
|
||||
Entries []*CalendarEntry
|
||||
}
|
||||
|
||||
// CalendarEntry is a calendar entry.
|
||||
type CalendarEntry struct {
|
||||
Anime *arn.Anime
|
||||
Episode *arn.AnimeEpisode
|
||||
}
|
Reference in New Issue
Block a user