twftemplates

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Footer() string

func Form

func Form(link, content string) string

func FormItem

func FormItem(field datastruct.Field) string

func FormItemCheckbox

func FormItemCheckbox(field datastruct.Field) string

func FormItemSelect

func FormItemSelect(field datastruct.Field, kvs []datastruct.FkKV, selectedID interface{}) string

func FormItemTextarea

func FormItemTextarea(field datastruct.Field) string
func Head(title string) string

func Item

func Item(values []interface{}) string

func ItemList

func ItemList(fields []datastruct.Field, content string) string
func Menu() string

func MultipartForm added in v1.0.1

func MultipartForm(link, content string) string

func StreamFooter

func StreamFooter(qw422016 *qt422016.Writer)

func StreamForm

func StreamForm(qw422016 *qt422016.Writer, link, content string)

func StreamFormItem

func StreamFormItem(qw422016 *qt422016.Writer, field datastruct.Field)

func StreamFormItemCheckbox

func StreamFormItemCheckbox(qw422016 *qt422016.Writer, field datastruct.Field)

func StreamFormItemSelect

func StreamFormItemSelect(qw422016 *qt422016.Writer, field datastruct.Field, kvs []datastruct.FkKV, selectedID interface{})

func StreamFormItemTextarea

func StreamFormItemTextarea(qw422016 *qt422016.Writer, field datastruct.Field)

func StreamHead

func StreamHead(qw422016 *qt422016.Writer, title string)

func StreamItem

func StreamItem(qw422016 *qt422016.Writer, values []interface{})

func StreamItemList

func StreamItemList(qw422016 *qt422016.Writer, fields []datastruct.Field, content string)

func StreamMenu

func StreamMenu(qw422016 *qt422016.Writer)

func StreamMultipartForm added in v1.0.1

func StreamMultipartForm(qw422016 *qt422016.Writer, link, content string)

func WriteFooter

func WriteFooter(qq422016 qtio422016.Writer)

func WriteForm

func WriteForm(qq422016 qtio422016.Writer, link, content string)

func WriteFormItem

func WriteFormItem(qq422016 qtio422016.Writer, field datastruct.Field)

func WriteFormItemCheckbox

func WriteFormItemCheckbox(qq422016 qtio422016.Writer, field datastruct.Field)

func WriteFormItemSelect

func WriteFormItemSelect(qq422016 qtio422016.Writer, field datastruct.Field, kvs []datastruct.FkKV, selectedID interface{})

func WriteFormItemTextarea

func WriteFormItemTextarea(qq422016 qtio422016.Writer, field datastruct.Field)

func WriteHead

func WriteHead(qq422016 qtio422016.Writer, title string)

func WriteItem

func WriteItem(qq422016 qtio422016.Writer, values []interface{})

func WriteItemList

func WriteItemList(qq422016 qtio422016.Writer, fields []datastruct.Field, content string)

func WriteMenu

func WriteMenu(qq422016 qtio422016.Writer)

func WriteMultipartForm added in v1.0.1

func WriteMultipartForm(qq422016 qtio422016.Writer, link, content string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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