Documentation ¶
Overview ¶
视图管理.
Index ¶
- func HTML(content string) template.HTML
- func ParseContent(content string, params map[string]interface{}) ([]byte, error)
- type View
- func (view *View) AddPath(path string) error
- func (view *View) BindFunc(name string, function interface{})
- func (view *View) Parse(file string, params map[string]interface{}) ([]byte, error)
- func (view *View) ParseContent(content string, params map[string]interface{}) ([]byte, error)
- func (view *View) SetDelimiters(left, right string)
- func (view *View) SetPath(path string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.