Example #1
0
func New(collection string) stencils.StencilFn {
	return func(name string) *stencils.Stencil {
		return stencils.NewStencil(name, &gae{collection, name})
	}
}
Example #2
0
func New(path string) stencils.StencilFn {
	return func(name string) *stencils.Stencil {
		p := filepath.Join(path, name)
		return stencils.NewStencil(name, &file{p, name})
	}
}