formdata

package
v1.5.10 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Field

type Field struct {
	Field         string
	Orig          string // 字段旧名称
	Type          string
	Length        string
	Unsigned      string
	Collation     string
	On_delete     string
	On_update     string
	Null          bool
	Comment       string
	Default       string
	Has_default   bool
	AutoIncrement sql.NullString `form_options:"-"`
}

func (*Field) Init

func (f *Field) Init(t *Table, index string)

type Table

type Table struct {
	Name               string
	Engine             string
	Collation          string
	AutoIncrementStart sql.NullInt64 `form_options:"-"`
	Auto_increment     string
	Ai_start_val       string
	Comment            string
	FieldIndexes       []string
	Fields             map[string]*Field
}

func (*Table) AfterValidate

func (t *Table) AfterValidate(_ echo.Context) error

Jump to

Keyboard shortcuts

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