editform

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EditForm

type EditForm struct{}

编辑表单

func (*EditForm) Check

func (f *EditForm) Check(data map[string]string, id, name string) error

检查并赋值参数

func (*EditForm) GetFunc

func (f *EditForm) GetFunc(t orm.FieldType) func(text string, tmp []string, data map[string][]byte) string

func (*EditForm) GetTemplate

func (f *EditForm) GetTemplate(t orm.FieldType) string

func (*EditForm) Transfer

func (f *EditForm) Transfer() interface{}

按照表字段循环生成所有表单字段

Jump to

Keyboard shortcuts

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