This repository has been archived by the owner. It is now read-only.
Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (7 sloc) 213 Bytes
package urknall
// This is a short-cut usable for templates without configuration, i.e. where
// no separate struct is required.
type TemplateFunc func(Package)
func (f TemplateFunc) Render(p Package) {
f(p)
}