Description

Registers a new tag. If there's already a tag with the same name, RegisterTag will panic. You usually want to call this function in the tag's init() function: http://golang.org/doc/effective_go.html#init

See http://www.florian-schlachter.de/post/pongo2/ for more about writing filters and tags.

RegisterTag is referenced in 2 repositories

github.com/flosch/pongo2 github.com/ipfans/beego-pongo2.v2