Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Admin ¶
type Admin struct {
// contains filtered or unexported fields
}
Admin is the Nova admin panel
type Field ¶
type Field struct {
Name string
Label string
Type string // text, number, email, password, select, textarea, boolean, date
Options []string // For select fields
Required bool
}
Field represents a field in a resource
type Resource ¶
type Resource struct {
Name string
TableName string
Fields []Field
GetAll func() ([]map[string]any, error)
GetByID func(id string) (map[string]any, error)
Create func(data map[string]any) error
Update func(id string, data map[string]any) error
Delete func(id string) error
}
Resource represents a resource that can be managed in Nova
Click to show internal directories.
Click to hide internal directories.