Files
moxa/stdlib/go1_12_text_template.go
Ludovic Fernandez 7e07a183ed chore: support go1.11 and go 1.12. (#130)
* feat: support go1.11 and go 1.12.

* chore: generate.

* fix: build constraint.

* exclude importer.For

* generate go 1.11
2019-03-19 22:08:17 +01:00

34 lines
1.2 KiB
Go

// +build go1.12,!go1.13
package stdlib
// Code generated by 'goexports text/template'. DO NOT EDIT.
import (
"reflect"
"text/template"
)
func init() {
Value["text/template"] = map[string]reflect.Value{
// function, constant and variable definitions
"HTMLEscape": reflect.ValueOf(template.HTMLEscape),
"HTMLEscapeString": reflect.ValueOf(template.HTMLEscapeString),
"HTMLEscaper": reflect.ValueOf(template.HTMLEscaper),
"IsTrue": reflect.ValueOf(template.IsTrue),
"JSEscape": reflect.ValueOf(template.JSEscape),
"JSEscapeString": reflect.ValueOf(template.JSEscapeString),
"JSEscaper": reflect.ValueOf(template.JSEscaper),
"Must": reflect.ValueOf(template.Must),
"New": reflect.ValueOf(template.New),
"ParseFiles": reflect.ValueOf(template.ParseFiles),
"ParseGlob": reflect.ValueOf(template.ParseGlob),
"URLQueryEscaper": reflect.ValueOf(template.URLQueryEscaper),
// type definitions
"ExecError": reflect.ValueOf((*template.ExecError)(nil)),
"FuncMap": reflect.ValueOf((*template.FuncMap)(nil)),
"Template": reflect.ValueOf((*template.Template)(nil)),
}
}