menuhtml

package
v2.12.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2015 License: MIT, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(f Formatter) menu.WriterTo

func NewUL

func NewUL(classOpen, classActive, classSub types.Class) menu.WriterTo

Types

type Formatter

type Formatter interface {
	Item(path, text string, isActive, hasChildren bool, depth int) *element.Element
	ClassOpen() types.Class
	List(depth int, text string) *element.Element
}

Jump to

Keyboard shortcuts

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