Skip to content

drone/funcmap

Repository files navigation

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

About

Template functions for Go templates

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages