| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
package stdlib |
| 7 |
|
| 8 |
import ( |
| 9 |
"html/template" |
| 10 |
"reflect" |
| 11 |
) |
| 12 |
|
| 13 |
func init() { |
| 14 |
Symbols["html/template/template"] = map[string]reflect.Value{ |
| 15 |
|
| 16 |
"ErrAmbigContext": reflect.ValueOf(template.ErrAmbigContext), |
| 17 |
"ErrBadHTML": reflect.ValueOf(template.ErrBadHTML), |
| 18 |
"ErrBranchEnd": reflect.ValueOf(template.ErrBranchEnd), |
| 19 |
"ErrEndContext": reflect.ValueOf(template.ErrEndContext), |
| 20 |
"ErrJSTemplate": reflect.ValueOf(template.ErrJSTemplate), |
| 21 |
"ErrNoSuchTemplate": reflect.ValueOf(template.ErrNoSuchTemplate), |
| 22 |
"ErrOutputContext": reflect.ValueOf(template.ErrOutputContext), |
| 23 |
"ErrPartialCharset": reflect.ValueOf(template.ErrPartialCharset), |
| 24 |
"ErrPartialEscape": reflect.ValueOf(template.ErrPartialEscape), |
| 25 |
"ErrPredefinedEscaper": reflect.ValueOf(template.ErrPredefinedEscaper), |
| 26 |
"ErrRangeLoopReentry": reflect.ValueOf(template.ErrRangeLoopReentry), |
| 27 |
"ErrSlashAmbig": reflect.ValueOf(template.ErrSlashAmbig), |
| 28 |
"HTMLEscape": reflect.ValueOf(template.HTMLEscape), |
| 29 |
"HTMLEscapeString": reflect.ValueOf(template.HTMLEscapeString), |
| 30 |
"HTMLEscaper": reflect.ValueOf(template.HTMLEscaper), |
| 31 |
"IsTrue": reflect.ValueOf(template.IsTrue), |
| 32 |
"JSEscape": reflect.ValueOf(template.JSEscape), |
| 33 |
"JSEscapeString": reflect.ValueOf(template.JSEscapeString), |
| 34 |
"JSEscaper": reflect.ValueOf(template.JSEscaper), |
| 35 |
"Must": reflect.ValueOf(template.Must), |
| 36 |
"New": reflect.ValueOf(template.New), |
| 37 |
"OK": reflect.ValueOf(template.OK), |
| 38 |
"ParseFS": reflect.ValueOf(template.ParseFS), |
| 39 |
"ParseFiles": reflect.ValueOf(template.ParseFiles), |
| 40 |
"ParseGlob": reflect.ValueOf(template.ParseGlob), |
| 41 |
"URLQueryEscaper": reflect.ValueOf(template.URLQueryEscaper), |
| 42 |
|
| 43 |
|
| 44 |
"CSS": reflect.ValueOf((*template.CSS)(nil)), |
| 45 |
"Error": reflect.ValueOf((*template.Error)(nil)), |
| 46 |
"ErrorCode": reflect.ValueOf((*template.ErrorCode)(nil)), |
| 47 |
"FuncMap": reflect.ValueOf((*template.FuncMap)(nil)), |
| 48 |
"HTML": reflect.ValueOf((*template.HTML)(nil)), |
| 49 |
"HTMLAttr": reflect.ValueOf((*template.HTMLAttr)(nil)), |
| 50 |
"JS": reflect.ValueOf((*template.JS)(nil)), |
| 51 |
"JSStr": reflect.ValueOf((*template.JSStr)(nil)), |
| 52 |
"Srcset": reflect.ValueOf((*template.Srcset)(nil)), |
| 53 |
"Template": reflect.ValueOf((*template.Template)(nil)), |
| 54 |
"URL": reflect.ValueOf((*template.URL)(nil)), |
| 55 |
} |
| 56 |
} |