package
0.10.13
Repository: https://github.com/indiereign/shift72-kibble.git
Documentation: pkg.go.dev

# Functions

AddDataSource - register a datasource.
ApplyContentTransforms - add the markdown / sanitization / shortcodes.
ConfigureShortcodeTemplatePath sets the directory where the short codes will be loaded from.
CreateTemplateView - create a template view.
FindDataSource - find the data source by name.
GetCast - extact the cast members from the film.
GetCountries - extract the countries from the film.
GetDataSources returns all registered data sources.
GetGenres - extract the genres from the film.
GetTVSeasonYear - extract the year from the tv season.
GetTVShowCast - extact the cast members from the tv show.
GetTVShowCountries - extract the countries from the film.
GetTVShowGenres - extract the genres from the tv show.
GetYear - extract the year from the film.
NewRouteRegistry - create a new route registry.
NewRouteRegistryFromConfig - create a new route registry from the config.
ReplaceURLArgumentsWithEntityValues replaces expected arguments with.
ValidateRouteWithDatasource will check the urlPath is valid for a data source.

# Variables

Empty - Generic Item.
ErrDataSource is returned when no datasource could be found.
ErrDataSourceMissing raises when the datasource could not be found.
Unresolved - a slug to an item that has not been requested.

# Structs

BonusContent - bonus content model.
Bundle - model.
CastMember -.
Collection - collection of films and tv seasons / episodes.
Config - template configuration NOTE: Don't use `SiteRootPath directly`, use `Config.SourcePath()` instead.
CrewMember -.
Film - all of the film bits.
GenericItem - used to store the common properties.
ImageSet - set of images.
Language - instance of a language.
LiveReloadConfig - configuration options for the live_reloader.
Navigation - header and footer.
NavigationItem - nestable structure.
OrderedEntry - a list of items ordered by keys e.g.
Page - page structure.
PageCollection - part of a page.
Pagination describes a single page of results.
Plan -.
PrivateConfig - config loaded from.
RenderContext - Context passed during rendering / serving.
Route - represents a route for rendering and.
RouteArgument represents an argument that a route can have.
RouteRegistry - stores a list of routes.
Seo - common seo settings.
Site -.
SubtitleTrack -.
Trailer -.
TVEpisode -.
TVSeason -.
TVShow -.

# Interfaces

DataSource provides a set of data for querying and iterating over.
Renderer - rendering implementation.

# Type aliases

BonusContentCollection - all bonus content for a film or season.
BundleCollection - all bundles.
CollectionCollection - all collections.
CustomFields are key-value pairs that can be aded to a film, season, bonus, or episode.
FeatureToggles - store feature toggles.
FilmCollection - all films.
GenericItems - a list of generic items e.g.
ItemIndex - an item index.
OrderedEntries - array of entires.
Pages -.
PlanCollection is a list of published plans.
Runtime - Allows us to get accurate measures of hours and minutes.
ServiceConfig -.
StringCollection - Allows us to add methods to []string for easing UI array usage.
Taxonomies - list of taxonomies.
Taxonomy - a grouping of related generic items e.g.
TVEpisodeCollection is an array of episodes.
TVSeasonCollection -.
TVShowCollection -.