headerlib

package
v2.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2025 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHeader

func GetHeader(
	headerTpl *template.Template,
	res commons.SearchResultIface,
) (string, error)

func LoadHeaderTemplate

func LoadHeaderTemplate(conf *config.Config) (*template.Template, error)

Types

type HeaderTemplateInput

type HeaderTemplateInput struct {
	Terms     []string
	Term      string
	DictName  string
	Score     uint8
	ShowTerms bool
}

Jump to

Keyboard shortcuts

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