templatehelpers

package
v0.0.0-...-a3bd744 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2025 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FuncMap = template.FuncMap{}

FuncMap initializes an empty FuncMap. Any functions added here should be contained in its own file and be added via init().

Functions

func InitializeMenu

func InitializeMenu()

InitializeMenu must be called after config is loaded to get user group values

Types

type MenuItem struct {
	Name          string
	Path          string
	RequiredGroup string
}

func GetMenu

func GetMenu(c echo.Context) []MenuItem

Jump to

Keyboard shortcuts

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