template

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IdentifierRangeTable = rangetable.Merge(unicode.Letter, unicode.Nd, rangetable.New('_', '-'))

Functions

func ExpectVariable

func ExpectVariable(s *bytes.MarkScanner) ([]byte, jp.Path, error)

Types

type Template

type Template interface {
	ContentType() string
	Execute(model any, variables map[string]any) ([]byte, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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