Documentation ¶ Index ¶ type One func NewOne(z *zero.Zero, f *fx.Fx) *One func (o *One) Home(logo, heading string) func (o *One) Keyboard() *template.HTML func (o *One) Logo(path string) template.HTML func (o *One) Serve() func (o *One) Slides(dir string) func (o *One) Text(path string) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type One ¶ type One struct { *zero.Zero *fx.Fx // contains filtered or unexported fields } func NewOne ¶ func NewOne(z *zero.Zero, f *fx.Fx) *One func (*One) Home ¶ added in v0.10.4 func (o *One) Home(logo, heading string) func (*One) Keyboard ¶ added in v0.10.9 func (o *One) Keyboard() *template.HTML Keyboard builds the default keyboard panel frame — an example of a self-contained panel frame template, same shape as Home/Text/Slides. Pass the result to Panels(...) to register it. func (*One) Logo ¶ added in v0.10.4 func (o *One) Logo(path string) template.HTML func (*One) Serve ¶ func (o *One) Serve() func (*One) Slides ¶ added in v0.10.4 func (o *One) Slides(dir string) func (*One) Text ¶ added in v0.10.4 func (o *One) Text(path string) Source Files ¶ View all Source files one.gotemplates.go Click to show internal directories. Click to hide internal directories.