Documentation
¶
Index ¶
- func Escape(str string) string
- type T
- type Writer
- func (w *Writer) CacheURL(href string) string
- func (w *Writer) Complete() error
- func (w *Writer) PopTag()
- func (w *Writer) PushTag(tag T)
- func (w *Writer) Render(fn func(w *Writer) error) string
- func (w *Writer) RenderTemplate(name string, model interface{}) string
- func (w *Writer) Template(name string, model interface{})
- func (w *Writer) WithTag(tag T, fn func() error)
- func (w *Writer) Write(str string)
- func (w *Writer) WriteLine(str string)
- func (w *Writer) WriteLineNoIndent(str string)
- func (w *Writer) WriteLines(strs ...string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
func (*Writer) RenderTemplate ¶
func (*Writer) WriteLineNoIndent ¶
func (*Writer) WriteLines ¶
Click to show internal directories.
Click to hide internal directories.