gen

package
Version: v0.0.0-...-a33358d Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UsefulFunc = template.FuncMap{}

Functions

func KeyValueTypeNames

func KeyValueTypeNames(globals *model.Globals) (ret []string)

func WrapSingleValue

func WrapSingleValue(globals *model.Globals, valueType *model.TypeDefine, value string) string

Types

type GenCustom

type GenCustom func(globals *model.Globals, param string) (err error)

type GenSingleFile

type GenSingleFile func(globals *model.Globals) (data []byte, err error)

type TableIndices

type TableIndices struct {
	Table     *model.DataTable
	FieldInfo *model.TypeDefine
}

func GetIndices

func GetIndices(globals *model.Globals) (ret []TableIndices)

func GetIndicesByTable

func GetIndicesByTable(tab *model.DataTable) (ret []TableIndices)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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