Categorygithub.com/drone/funcmap
repositorypackage
0.0.0-20240227160611-7e19e9cd5a1c
Repository: https://github.com/drone/funcmap.git
Documentation: pkg.go.dev

# README

This package aims to provide an independent implementation of the Hugo template functions. https://gohugo.io/functions/ (view source)

Usage

Import the package:

import "github.com/drone/funcmap"

Provide the Funcmap when compiling your templates:

t, err := template.New("_").Funcs(funcmap.Funcs).Parse(text)

Functions

Crypto Functions

Encoding Functions

Date Functions

OS Functions

String Functions

Transform Functions

URL Functions