Documentation ¶
Index ¶
- func PopulateProperties(events []Event, me string)
- func RangeForWeeks(n int) (time.Time, time.Time)
- func RoundRect(path draw2dimg.GraphicContext, x1, y1, x2, y2, arcWidth, arcHeight float64)
- func WriteEvents(w io.Writer, events Events, weeks int, detail bool, pretty bool) error
- type API
- type Attendee
- type Event
- type Events
- type Person
- type Photo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PopulateProperties ¶
func RoundRect ¶ added in v0.6.5
func RoundRect(path draw2dimg.GraphicContext, x1, y1, x2, y2, arcWidth, arcHeight float64)
Types ¶
type API ¶
type API interface { GetMe(ctx context.Context) (string, error) GetRecurringEvents(ctx context.Context) (Events, error) GetRecurringEventsWithInstancesForWeeks(ctx context.Context, weeks int) (Events, error) GetPhoto(ctx context.Context, id string) (*Photo, error) GetName(ctx context.Context, id string) (string, error) }
type Event ¶
type Event struct { ID string Name string Organizer string SeriesMasterID string RecurrenceType string StartDate time.Time EndDate time.Time Start time.Time End time.Time Interval int Duration int Categories []string Instances []Event Attendees []Attendee Properties []string }
func (*Event) SetProperty ¶
type Photo ¶
func (*Photo) CropCircle ¶ added in v0.1.0
func (*Photo) CropRoundRect ¶ added in v0.6.5
func (*Photo) SuggestedFilename ¶
Click to show internal directories.
Click to hide internal directories.