template

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FuncMaps

type FuncMaps = godao.Map

type Funcs

type Funcs = func(args ...any) (result any, err error)

type Writer

type Writer struct {
	*bytes.Buffer
	// contains filtered or unexported fields
}

func (*Writer) Clear

func (w *Writer) Clear()

func (*Writer) Init

func (w *Writer) Init(size int) (err error)

func (*Writer) LastLine

func (w *Writer) LastLine() godao.Bytes

func (*Writer) Lines

func (w *Writer) Lines() []godao.Bytes

func (*Writer) Output

func (w *Writer) Output() godao.Bytes

func (*Writer) ReadLine

func (w *Writer) ReadLine(lineIndex int) godao.Bytes

func (*Writer) Render

func (w *Writer) Render(dst io.Writer, mapData ...FuncMaps) (p int, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL