template

package
v0.0.0-...-d0e669d Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FuncMap

func FuncMap() []template.FuncMap

func Safe

func Safe(raw string) template.HTML

Types

type FileSystem

type FileSystem struct {
	// contains filtered or unexported fields
}

func Minify

func Minify(embedFS embed.FS, dir string, allowedExtensions []string) (*FileSystem, error)

func (*FileSystem) Files

func (fs *FileSystem) Files() []template.File

Jump to

Keyboard shortcuts

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