Versions in this module Expand all Collapse all v1 v1.0.2 May 3, 2022 v1.0.1 May 3, 2022 v1.0.0 May 3, 2022 Changes in this version + func AddMenuToMapFromEtree(element *etree.Element, mMap map[string]*Menu) map[string]*Menu + func BootStrap() + func LoadFromEtree(element *etree.Element) + type Collection struct + Menus []*Menu + var Registry *Collection + func NewCollection() *Collection + func (mc *Collection) Add(m *Menu) + func (mc *Collection) All() []*Menu + func (mc *Collection) GetByID(id int64) *Menu + func (mc *Collection) GetByXMLID(xmlid string) *Menu + func (mc *Collection) Len() int + func (mc *Collection) Less(i, j int) bool + func (mc *Collection) Swap(i, j int) + type Menu struct + Action *actions.Action + ActionID string + Children *Collection + HasAction bool + HasChildren bool + ID int64 + Name string + Parent *Menu + ParentCollection *Collection + ParentID string + Sequence uint8 + WebIcon string + XMLID string + func (m Menu) TranslatedName(lang string) string