navigate

package
v0.6.11 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: AGPL-3.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// EmptyList 空菜单列表
	EmptyList = navigate.List{}

	//LeftNavigate 左边导航菜单
	LeftNavigate = &navigate.List{}

	//TopNavigate 顶部导航菜单
	TopNavigate = &navigate.List{}
)

Functions

func ProjectAdd

func ProjectAdd(index int, list ...*navigate.ProjectItem)

func ProjectAddNavList

func ProjectAddNavList(name string, ident string, url string, navList *navigate.List)

func ProjectFirst

func ProjectFirst(notEmptyOpts ...bool) *navigate.ProjectItem

func ProjectGet

func ProjectGet(ident string) *navigate.ProjectItem

func ProjectIdent

func ProjectIdent(urlPath string) string

func ProjectInitURLsIdent

func ProjectInitURLsIdent() *navigate.Projects

func ProjectListAll

func ProjectListAll() navigate.ProjectList

func ProjectRemove

func ProjectRemove(index int)

func ProjectRemoveByIdent

func ProjectRemoveByIdent(ident string)

func ProjectSearchIdent

func ProjectSearchIdent(ident string) int

func ProjectSet

func ProjectSet(index int, list ...*navigate.ProjectItem)

func ProjectURLsIdent

func ProjectURLsIdent() map[string]string

func TopNavURLs

func TopNavURLs() map[string]int

Types

This section is empty.

Jump to

Keyboard shortcuts

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