Documentation ¶
Index ¶
Constants ¶
View Source
const ( RenderMethodNone = RenderMethod(iota) RenderMethodTemplate RenderMethodFunc RenderMethodFuncThenTemplate )
Variables ¶
This section is empty.
Functions ¶
func WrapTemplate ¶ added in v0.3.0
Types ¶
type ComponentDef ¶
type ComponentDef struct { RenderMethod RenderMethod FuncName string TemplateName string SlotName string HasSlots bool }
func ScanTemplate ¶ added in v0.3.0
func ScanTemplate(code string) *ComponentDef
type RenderMethod ¶
type RenderMethod int
Click to show internal directories.
Click to hide internal directories.