generator

package
v0.0.0-...-294a70e Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Consts = map[string]reflect.Value{}
View Source
var Functions = map[string]reflect.Value{}
View Source
var Types = map[string]reflect.Type{
	"Field":   reflect.TypeOf((*Field)(nil)).Elem(),
	"Options": reflect.TypeOf((*Options)(nil)).Elem(),
}
View Source
var Variables = map[string]reflect.Value{}

Functions

This section is empty.

Types

type Field

type Field struct {
	view_model.BaseViewModel
	Field           string  `json:"field"`
	Name            string  `json:"name"`
	Level           string  `json:"level"`
	TableShow       bool    `json:"tableShow"`
	SortOrder       float32 `json:"sortOrder"`
	Searchable      bool    `json:"searchable"`
	Editable        bool    `json:"editable"`
	Type            string  `json:"type"`
	Validate        bool    `json:"validate"`
	SearchType      string  `json:"searchType"`
	SearchLevel     string  `json:"searchLevel"`
	Sortable        bool    `json:"sortable"`
	DefaultSort     bool    `json:"defaultSort"`
	DefaultSortType string  `json:"defaultSortType"`
}

type Options

type Options struct {
	ApiPath string  `json:"apiPath"`
	Fields  []Field `json:"fields"`
}

Jump to

Keyboard shortcuts

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