Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GlobalMenu = &Menu{ GlobalMenuList: []Item{}, GlobalMenuOption: []map[string]string{}, MaxOrder: 0, }
View Source
var InitMenuOnce = &Once{
done: 0,
}
Functions ¶
func SetGlobalMenu ¶
Types ¶
type Item ¶ added in v0.0.5
type Item struct { Name string ID string Url string Icon string Header string Active string ChildrenList []Item }
func ConstructMenuTree ¶
func GetMenuItemById ¶
type Menu ¶
func GetGlobalMenu ¶
func (*Menu) AddMaxOrder ¶ added in v0.0.5
func (menu *Menu) AddMaxOrder()
func (*Menu) GetEditMenuList ¶
func (*Menu) SetActiveClass ¶
func (*Menu) SexMaxOrder ¶
Click to show internal directories.
Click to hide internal directories.