extension

package
v0.0.29 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterMenuItem

func RegisterMenuItem(item MenuItem)

RegisterMenuItem adds a new item to the admin sidebar menu.

Types

type MenuItem struct {
	Label string
	Href  string
}

MenuItem represents a link in the admin sidebar navigation.

func ListMenuItems

func ListMenuItems() []MenuItem

ListMenuItems returns a copy of all registered menu items.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL