templates

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessTest

func ProcessTest(ctx context.Context, w io.Writer, header string, users []User)

func ProcessTestExprSyntax

func ProcessTestExprSyntax(ctx context.Context, w io.Writer, i int, b bool, s string, t []TestType, ptr *TestType, buf *bts.Buffer, iv interface{})

func ProcessUserName

func ProcessUserName(ctx context.Context, w io.Writer, user User)

func Processtest1

func Processtest1(ctx context.Context, w io.Writer, s string, buffers []*bts.Buffer)

func Wrapperpage

func Wrapperpage(ctx context.Context, w io.Writer, tplClbF func(), caption string)

func Wrapperwrapper1

func Wrapperwrapper1(ctx context.Context, w io.Writer, tplClbF func())

func Wrapperwrapper2

func Wrapperwrapper2(ctx context.Context, w io.Writer, tplClbF func())

Types

type StringMap added in v1.2.0

type StringMap map[string]string

type TestType

type TestType struct {
	StructField struct {
		F1 map[string]int
	}
}

type User

type User struct {
	Name     string
	Lastname string
	Age      uint8
	IsMan    bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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