func (env Environment) Render(out io.Writer, ts Interface, names ...string) (err error) {
	for _, name := range names {
		if err = ts.Render(out, name, env.v); err != nil {
			return
		}
	}
	return
}
Render an ordered set of templates. Halts if a rendering error occurrs.
package templates
import (
	"bytes"
	"crypto/rand"
	"encoding/base64"
	"io"
	"os"
	"path/filepath"
)
func FileCreate(path string) (*os.File, error) {
	if _, err := os.Stat(path); err == nil {
		return nil, err
	}
	if err := os.MkdirAll(filepath.Dir(path), 0644); err != nil {  
		return nil, err
	}
	return os.Create(path)
}
type Environment struct{ v interface{} }
func Env(v interface{}) Environment { return Environment{v} }