Documentation ¶
Index ¶
- func GetRelationData(req *cutil.WorkspaceRequest, m *model.Model, data []any, sourceKey string, ...) ([]*util.OrderedMap[any], error)
- func ProjectMenu(as *app.State, prj *project.View) (menu.Items, error)
- func SourceMenuModel(m *model.Model, path string) *menu.Item
- func SourceMenuPackage(mp *model.Package, path string) menu.Items
- func ToMenu(as *app.State, path string, a action.Actions, view *project.View) (menu.Items, error)
- type Result
- func ActionHandler(req *cutil.WorkspaceRequest, act *action.Action, as *app.State) (*Result, error)
- func ErrResult(req *cutil.WorkspaceRequest, act *action.Action, err error) (*Result, error)
- func NewResult(title string, bc []string, req *cutil.WorkspaceRequest, act *action.Action, ...) *Result
- func RedirectResult(flashMessage string, redir string) *Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRelationData ¶ added in v0.2.11
Types ¶
Click to show internal directories.
Click to hide internal directories.