person

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrFilter = errors.New("invalid filter used")

Functions

This section is empty.

Types

type Person

type Person struct {
	ID   string // ID used in URLs to link to the person.
	Nick string // Nick of the person.
	Hr   bool   // Inject a HR element to separate a collection of groups.
}

Person represent people who are listed as authors on the website.

type Persons

type Persons []Person

func (Persons) Template

func (p Persons) Template(filename, tpl string, filter string) error

Tempate creates the HTML used by the website to list people.

Jump to

Keyboard shortcuts

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