Skip to content
/ funcmap Public

Template functions for Go templates

License

Notifications You must be signed in to change notification settings

drone/funcmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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