| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
package stdlib |
| 7 |
|
| 8 |
import ( |
| 9 |
"reflect" |
| 10 |
"text/template" |
| 11 |
) |
| 12 |
|
| 13 |
func init() { |
| 14 |
Symbols["text/template/template"] = map[string]reflect.Value{ |
| 15 |
|
| 16 |
"HTMLEscape": reflect.ValueOf(template.HTMLEscape), |
| 17 |
"HTMLEscapeString": reflect.ValueOf(template.HTMLEscapeString), |
| 18 |
"HTMLEscaper": reflect.ValueOf(template.HTMLEscaper), |
| 19 |
"IsTrue": reflect.ValueOf(template.IsTrue), |
| 20 |
"JSEscape": reflect.ValueOf(template.JSEscape), |
| 21 |
"JSEscapeString": reflect.ValueOf(template.JSEscapeString), |
| 22 |
"JSEscaper": reflect.ValueOf(template.JSEscaper), |
| 23 |
"Must": reflect.ValueOf(template.Must), |
| 24 |
"New": reflect.ValueOf(template.New), |
| 25 |
"ParseFS": reflect.ValueOf(template.ParseFS), |
| 26 |
"ParseFiles": reflect.ValueOf(template.ParseFiles), |
| 27 |
"ParseGlob": reflect.ValueOf(template.ParseGlob), |
| 28 |
"URLQueryEscaper": reflect.ValueOf(template.URLQueryEscaper), |
| 29 |
|
| 30 |
|
| 31 |
"ExecError": reflect.ValueOf((*template.ExecError)(nil)), |
| 32 |
"FuncMap": reflect.ValueOf((*template.FuncMap)(nil)), |
| 33 |
"Template": reflect.ValueOf((*template.Template)(nil)), |
| 34 |
} |
| 35 |
} |