Documentation
¶
Overview ¶
Package calendar is data a work carries: dated events, made into an iCalendar (.ics) file that adds them to any calendar app.
Index ¶
- Variables
- type Event
- type Events
- type Format
- func (Format) CleanData(raw json.RawMessage) (json.RawMessage, error)
- func (Format) DataHelp() string
- func (Format) DataSchema() map[string]any
- func (Format) Describe() string
- func (Format) Ext() string
- func (Format) MediaType() string
- func (Format) Name() string
- func (Format) Needs() string
- func (Format) Render(w memory.Work, author string) ([]byte, error)
- func (Format) WriteHelp() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmpty = errors.New("calendar: no events with a title and a start")
Functions ¶
This section is empty.
Types ¶
type Format ¶
type Format struct{}
func (Format) CleanData ¶
func (Format) CleanData(raw json.RawMessage) (json.RawMessage, error)
func (Format) DataSchema ¶
Click to show internal directories.
Click to hide internal directories.