function

package
v0.0.0-...-bc6fd34 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FuncMap

func FuncMap() template.FuncMap

FuncMap return the registered functions as template.FuncMap the returned value can be nil if there are no registered functions

func RegisterFunction

func RegisterFunction(name string, fn Function)

RegisterFunction registers a function

Types

type Function

type Function = interface{}

Function is a function, this is used for documentation pourpose

Jump to

Keyboard shortcuts

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