package funcmap

import "git.dotya.ml/mirre-mt/pcmt/modules/funcmap"

Index

Functions

func FuncMap

func FuncMap() template.FuncMap

func New

func New(algo string) *resIntegrity

New returns a new resource integrity (resIntegrity) struct for the particular algorithm. Supported argument values are sha256, sha384 and sha512.

func SetEmbeds

func SetEmbeds(embeds *fs.FS)

SetEmbeds saves the pointer to embedded assets (and toggles the isLive var).

Source Files

funcmap.go integrity.go

Version
v0.0.0-20230910121657-4d10510f5ba4 (latest)
Published
Sep 10, 2023
Platform
linux/amd64
Imports
13 packages
Last checked
1 month ago

Tools for package owners.