func executeTemplate(text string, data interface{}) (string, error) {
	buf := new(bytes.Buffer)
	err := template.Must(template.New("tpl").Parse(text)).Execute(buf, data)
	return buf.String(), err
}
/* // disabled for now // disabled henceforth
func TestIndexDatatype(t *testing.T) {
testIndexDatatype(t, reflect.TypeOf(IndexData{}))
} //
package ostent
import (
	"bytes"
	"html/template"
	"reflect"
	"testing"
)
func testIndexDatatype(t *testing.T, typ reflect.Type) {
	for i := 0; i < typ.NumField(); i++ {
		field := typ.Field(i)
		ftyp := field.Type
		kind := ftyp.Kind()
		if kind == reflect.Ptr {
			t.Errorf("%s.%s\tis a pointer", typ.Name(), field.Name)
		}
		if kind == reflect.Struct {
			testIndexDatatype(t, ftyp)
		}
	}
}