generator

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateResource

func GenerateResource(options ResourceOptions) error

func InitProject

func InitProject(options InitOptions) error

Types

type GeneratedField

type GeneratedField struct {
	Name       string
	Type       string
	Primary    bool
	Readonly   bool
	Searchable bool
	Sortable   bool
	Filterable bool
	Required   bool
}

type InitOptions

type InitOptions struct {
	Name     string
	Module   string
	Backend  string
	Database string
	Frontend string
	UI       string
}

type ResourceOptions

type ResourceOptions struct {
	Name      string
	Package   string
	Table     string
	Fields    []GeneratedField
	Overwrite bool
}

Jump to

Keyboard shortcuts

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