example

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package example is generated with ftmpl {{{v0.3.0-beta}}}, do not edit!!!! */

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TMPLBaseEmbedded

func TMPLBaseEmbedded(title string) string

TMPLBaseEmbedded evaluates a template BaseEmbedded.tmpl

func TMPLBasicCode

func TMPLBasicCode(s string, num int) string

TMPLBasicCode evaluates a template BasicCode.tmpl

func TMPLBasicEmbeddedCode

func TMPLBasicEmbeddedCode(n int) string

TMPLBasicEmbeddedCode evaluates a template BasicEmbeddedCode.tmpl

func TMPLBasicIfElse

func TMPLBasicIfElse(n int) string

TMPLBasicIfElse evaluates a template BasicIfElse.tmpl

func TMPLBasicIfElseif

func TMPLBasicIfElseif(n int) string

TMPLBasicIfElseif evaluates a template BasicIfElseif.tmpl

func TMPLComparisonWithGoTemplates

func TMPLComparisonWithGoTemplates(params TemplateParam) string

TMPLComparisonWithGoTemplates evaluates a template ComparisonWithGoTemplates.tmpl

func TMPLERRBaseEmbedded

func TMPLERRBaseEmbedded(title string) (string, error)

TMPLERRBaseEmbedded evaluates a template BaseEmbedded.tmpl

func TMPLERRBasicCode

func TMPLERRBasicCode(s string, num int) (string, error)

TMPLERRBasicCode evaluates a template BasicCode.tmpl

func TMPLERRBasicEmbeddedCode

func TMPLERRBasicEmbeddedCode(n int) (string, error)

TMPLERRBasicEmbeddedCode evaluates a template BasicEmbeddedCode.tmpl

func TMPLERRBasicIfElse

func TMPLERRBasicIfElse(n int) (string, error)

TMPLERRBasicIfElse evaluates a template BasicIfElse.tmpl

func TMPLERRBasicIfElseif

func TMPLERRBasicIfElseif(n int) (string, error)

TMPLERRBasicIfElseif evaluates a template BasicIfElseif.tmpl

func TMPLERRComparisonWithGoTemplates

func TMPLERRComparisonWithGoTemplates(params TemplateParam) (string, error)

TMPLERRComparisonWithGoTemplates evaluates a template ComparisonWithGoTemplates.tmpl

func TMPLERRExtendsEmbedded

func TMPLERRExtendsEmbedded(title string, something int) (string, error)

TMPLERRExtendsEmbedded evaluates a template ExtendsEmbedded.tmpl

func TMPLERRFmtFormat added in v0.3.0

func TMPLERRFmtFormat() (string, error)

TMPLERRFmtFormat evaluates a template FmtFormat.tmpl

func TMPLERRNoncodeLineWithExclamationMark

func TMPLERRNoncodeLineWithExclamationMark() (string, error)

TMPLERRNoncodeLineWithExclamationMark evaluates a template NoncodeLineWithExclamationMark.tmpl

func TMPLERRWithDirectWriting

func TMPLERRWithDirectWriting() (string, error)

TMPLERRWithDirectWriting evaluates a template WithDirectWriting.tmpl

func TMPLERRWithEndInsteadOfBrackets

func TMPLERRWithEndInsteadOfBrackets() (string, error)

TMPLERRWithEndInsteadOfBrackets evaluates a template WithEndInsteadOfBrackets.tmpl

func TMPLERRWithExclamationMark

func TMPLERRWithExclamationMark() (string, error)

TMPLERRWithExclamationMark evaluates a template WithExclamationMark.tmpl

func TMPLERRWithGlobalDeclaration

func TMPLERRWithGlobalDeclaration(arg Argument) (string, error)

TMPLERRWithGlobalDeclaration evaluates a template WithGlobalDeclaration.tmpl

func TMPLERRWithInsert

func TMPLERRWithInsert(a int) (string, error)

TMPLERRWithInsert evaluates a template WithInsert.tmpl

func TMPLERRWithPercentage

func TMPLERRWithPercentage(str string) (string, error)

TMPLERRWithPercentage evaluates a template WithPercentage.tmpl

func TMPLERRbasic

func TMPLERRbasic(str string, num int) (string, error)

TMPLERRbasic evaluates a template basic.tmpl

func TMPLERRextends

func TMPLERRextends(title string, something int) (string, error)

TMPLERRextends evaluates a template extends.tmpl

func TMPLERRreturn

func TMPLERRreturn(a int) (string, error)

TMPLERRreturn evaluates a template return.tmpl

func TMPLExtendsEmbedded

func TMPLExtendsEmbedded(title string, something int) string

TMPLExtendsEmbedded evaluates a template ExtendsEmbedded.tmpl

func TMPLFmtFormat added in v0.3.0

func TMPLFmtFormat() string

TMPLFmtFormat evaluates a template FmtFormat.tmpl

func TMPLNoncodeLineWithExclamationMark

func TMPLNoncodeLineWithExclamationMark() string

TMPLNoncodeLineWithExclamationMark evaluates a template NoncodeLineWithExclamationMark.tmpl

func TMPLWithDirectWriting

func TMPLWithDirectWriting() string

TMPLWithDirectWriting evaluates a template WithDirectWriting.tmpl

func TMPLWithEndInsteadOfBrackets

func TMPLWithEndInsteadOfBrackets() string

TMPLWithEndInsteadOfBrackets evaluates a template WithEndInsteadOfBrackets.tmpl

func TMPLWithExclamationMark

func TMPLWithExclamationMark() string

TMPLWithExclamationMark evaluates a template WithExclamationMark.tmpl

func TMPLWithGlobalDeclaration

func TMPLWithGlobalDeclaration(arg Argument) string

TMPLWithGlobalDeclaration evaluates a template WithGlobalDeclaration.tmpl

func TMPLWithInsert

func TMPLWithInsert(a int) string

TMPLWithInsert evaluates a template WithInsert.tmpl

func TMPLWithPercentage

func TMPLWithPercentage(str string) string

TMPLWithPercentage evaluates a template WithPercentage.tmpl

func TMPLbasic

func TMPLbasic(str string, num int) string

TMPLbasic evaluates a template basic.tmpl

func TMPLextends

func TMPLextends(title string, something int) string

TMPLextends evaluates a template extends.tmpl

func TMPLreturn

func TMPLreturn(a int) string

TMPLreturn evaluates a template return.tmpl

Types

type Argument

type Argument struct {
	Aaa string
	Bbb int
}

type TemplateParam

type TemplateParam struct {
	Title, Subtitle string
	Items           []string
}

Jump to

Keyboard shortcuts

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