Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Collection ¶
type Index ¶
func LoadIndex ¶
func LoadIndex(ctx context.Context, indexPath string, dataFolder string, forceRebuild bool, deleteOld bool) (*Index, error)
LoadIndex attempts to load an index from a given path or build it based on the data folder. If the index already exists then you can enforce a rebuild using the forceRebuild parameter.
type IndexedSession ¶
type IndexedSession struct { Title string `json:"title"` Description string `json:"description"` URL string `json:"url"` CollectionTitle string `json:"collection_title"` CollectionURL string `json:"collection_url"` Speakers []Speaker `json:"speakers"` ThumbnailURL string `json:"thumbnail_url"` Recorded time.Time `json:"recorded"` RecordedFormatted string `json:"recorded_formatted"` }
func (IndexedSession) Type ¶
func (s IndexedSession) Type() string
Click to show internal directories.
Click to hide internal directories.