Versions in this module Expand all Collapse all v1 v1.1.2 Sep 10, 2024 v1.1.1 Aug 31, 2024 v1.1.0 Nov 4, 2023 v1.0.8 Feb 20, 2023 v1.0.7 Nov 7, 2022 v1.0.6 Oct 24, 2022 v1.0.5 Oct 24, 2022 v1.0.4 Oct 24, 2022 v1.0.3 Oct 16, 2022 v1.0.2 Sep 19, 2022 v1.0.1 Sep 13, 2022 v1.0.0 Sep 6, 2022 v0 v0.9.1 Jul 29, 2022 v0.9.0 Jul 19, 2022 Changes in this version + type Breadcrumb struct + Entries []*BreadcrumbEntry + func NewBreadcrumb() *Breadcrumb + func (b *Breadcrumb) AddEntry(e *BreadcrumbEntry) + type BreadcrumbEntry struct + Disabled bool + Label string + URI string + Verbatim bool + type Content interface + Render func(interface{}) ([]byte, error) + type ErrorData struct + Message string + type Menu struct + Entries []*MenuEntry + SelectedEntry string + type MenuEntry struct + Apart bool + External bool + Icon string + Id string + Label string + New bool + URI string + WhenLoggedIn bool + type MultiSelect struct + Name string + Options []MultiSelectOption + SelectedOptions []string + Size int + func (ms *MultiSelect) IsSelected(name string) bool + type MultiSelectOption struct + Label string + Name string + type RawContent []byte + func (c RawContent) Render(interface{}) ([]byte, error) + type Select struct + Id string + Name string + Options []SelectOption + SelectedOption string + func (s *Select) IsSelected(name string) bool + type SelectOption struct + Label string + Name string + type Tab struct + Icon string + Id string + Label string + URI string + type Tabs struct + SelectedTab string + Tabs []*Tab + func NewTabs() *Tabs + func (ts *Tabs) AddTab(t *Tab) + type Template struct + Data interface{} + Name string + RootTemplate *template.Template + func NewTemplate(rootTemplate *template.Template, name string, data interface{}) *Template + func (t *Template) Render(ctx interface{}) ([]byte, error) + type View struct + Body Content + BodyData template.HTML + Breadcrumb *Breadcrumb + Context interface{} + Menu *Menu + PageId string + RootTemplate *template.Template + Tabs *Tabs + Title string + func (v *View) Render(ctx interface{}) ([]byte, error)