templated_codegen

package
v0.0.0-...-dd1d5c9 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTemplate

func NewTemplate(source string, file *template.File) io.WriterTo

Types

type Body

type Body struct {
	// contains filtered or unexported fields
}

func (Body) Name

func (Body) Name() string

func (*Body) WriteTo

func (_template *Body) WriteTo(
	_output _io.Writer) (
	int64,
	error)

type Break

type Break struct {
	// contains filtered or unexported fields
}

func (Break) Name

func (Break) Name() string

func (*Break) WriteTo

func (_template *Break) WriteTo(
	_output _io.Writer) (
	int64,
	error)

type Continue

type Continue struct {
	// contains filtered or unexported fields
}

func (Continue) Name

func (Continue) Name() string

func (*Continue) WriteTo

func (_template *Continue) WriteTo(
	_output _io.Writer) (
	int64,
	error)

type CopySection

type CopySection struct {
	// contains filtered or unexported fields
}

func (CopySection) Name

func (CopySection) Name() string

func (*CopySection) WriteTo

func (_template *CopySection) WriteTo(
	_output _io.Writer) (
	int64,
	error)

type Embed

type Embed struct {
	// contains filtered or unexported fields
}

func (Embed) Name

func (Embed) Name() string

func (*Embed) WriteTo

func (_template *Embed) WriteTo(
	_output _io.Writer) (
	int64,
	error)

type Error

type Error struct {
	// contains filtered or unexported fields
}

func (Error) Name

func (Error) Name() string

func (*Error) WriteTo

func (_template *Error) WriteTo(
	_output _io.Writer) (
	int64,
	error)

type File

type File struct {
	// contains filtered or unexported fields
}

func (File) Name

func (File) Name() string

func (*File) WriteTo

func (_template *File) WriteTo(
	_output _io.Writer) (
	int64,
	error)

type For

type For struct {
	// contains filtered or unexported fields
}

func (For) Name

func (For) Name() string

func (*For) WriteTo

func (_template *For) WriteTo(
	_output _io.Writer) (
	int64,
	error)

type If

type If struct {
	// contains filtered or unexported fields
}

func (If) Name

func (If) Name() string

func (*If) WriteTo

func (_template *If) WriteTo(
	_output _io.Writer) (
	int64,
	error)

type Return

type Return struct {
	// contains filtered or unexported fields
}

func (Return) Name

func (Return) Name() string

func (*Return) WriteTo

func (_template *Return) WriteTo(
	_output _io.Writer) (
	int64,
	error)

type Substitute

type Substitute struct {
	// contains filtered or unexported fields
}

func (Substitute) Name

func (Substitute) Name() string

func (*Substitute) WriteTo

func (_template *Substitute) WriteTo(
	_output _io.Writer) (
	int64,
	error)

type Switch

type Switch struct {
	// contains filtered or unexported fields
}

func (Switch) Name

func (Switch) Name() string

func (*Switch) WriteTo

func (_template *Switch) WriteTo(
	_output _io.Writer) (
	int64,
	error)

type Template

type Template struct {
	// contains filtered or unexported fields
}

func (*Template) WriteTo

func (template *Template) WriteTo(output io.Writer) (int64, error)

type Text

type Text struct {
	// contains filtered or unexported fields
}

func (Text) Name

func (Text) Name() string

func (*Text) WriteTo

func (_template *Text) WriteTo(
	_output _io.Writer) (
	int64,
	error)

Jump to

Keyboard shortcuts

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