css

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2025 License: BSD-3-Clause Imports: 4 Imported by: 3

Documentation

Overview

Package css provides methods for loading CSS (.css) templates with default functions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadTemplates

func LoadTemplates(ctx context.Context, t_fs fs.FS) (*template.Template, error)

LoadTemplates loads CSS (.css) from 't_fs' with default functions assigned.

func TemplatesFuncMap

func TemplatesFuncMap() template.FuncMap

TemplatesFuncMap() returns a `template.FuncMap` instance with default functions assigned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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