DBDictionary

package
v0.8.17 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dictionary

func Dictionary(c *fiber.Ctx) error

func Set

func Set(e *fiber.App)

Types

type FormItem

type FormItem struct {
	Model    string `json:"model"`
	Label    string `json:"label"`
	Relation struct {
		Table  interface{}   `json:"table"`
		Key    interface{}   `json:"key"`
		Fields []interface{} `json:"fields"`
	} `json:"relation,omitempty"`
	Options []interface{} `json:"options"`
}

type FormSCHEMA

type FormSCHEMA struct {
	Name     string     `json:"name"`
	Model    string     `json:"model"`
	Identity string     `json:"identity"`
	Schema   []FormItem `json:"schema"`
}

type GridSCHEMA

type GridSCHEMA struct {
	Model    string `json:"model"`
	Name     string `json:"name"`
	Identity string `json:"identity"`
	Schema   []struct {
		Model string `json:"model"`
		Label string `json:"label"`
	} `json:"schema"`
}

Jump to

Keyboard shortcuts

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