Documentation ¶
Index ¶
- func CompileTemplates(pattern string, funcMap template.FuncMap) (*template.Template, error)
- func FormatActors(list []models.Actor) []models.Actor
- func FormatGenres(genreList string) []string
- func FormatPlot(plot string) string
- func FormatRuntime(runtime int) string
- func FormatRuntimeDotted(runtime int) string
- func FormatTrailers(trailerList string) []string
- func GetImageWithSize(img models.Image, preferred int) string
- func GetPermalink(m models.Media) string
- func GetReleaseYear(m models.Media) string
- func GetTrailer(m models.Media) string
- func HomeBrowse(m []models.Media) []models.Media
- func HomeFirst(m []models.Media) models.Media
- func HomeRecently(m []models.Media) []models.Media
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompileTemplates ¶
func FormatGenres ¶
func FormatPlot ¶
func FormatRuntime ¶
func FormatRuntimeDotted ¶
func FormatTrailers ¶
func GetPermalink ¶
func GetReleaseYear ¶
func GetTrailer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.