Versions in this module Expand all Collapse all v0 v0.1.0 Jul 1, 2024 Changes in this version + func NewMenu(conn db.Connection, data NewMenuData) (int64, error) + type Item struct + Active string + ChildrenList []Item + Header string + ID string + Icon string + IsLinkUrl bool + Name string + Url string + type Menu struct + ForceUpdate bool + List []Item + MaxOrder int64 + Options []map[string]string + PluginName string + func GetGlobalMenu(user models.UserModel, conn db.Connection, lang string, pluginNames ...string) *Menu + func (menu *Menu) AddMaxOrder() + func (menu *Menu) GetEditMenuList() []Item + func (menu *Menu) GetUpdateJS(updateFlag bool) template.JS + func (menu *Menu) SetActiveClass(path string) *Menu + func (menu *Menu) SetMaxOrder(order int64) + func (menu Menu) FormatPath() template.HTML + type NewMenuData struct + Header string + Icon string + Order int64 + ParentId int64 + PluginName string + Title string + Type int64 + Uri string + Uuid string