-
Notifications
You must be signed in to change notification settings - Fork 14
/
go121_export.go
executable file
·64 lines (58 loc) · 1.99 KB
/
go121_export.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
// export by github.com/goplus/igop/cmd/qexp
//go:build go1.21
// +build go1.21
package template
import (
q "text/template"
"reflect"
"github.com/goplus/igop"
)
func init() {
igop.RegisterPackage(&igop.Package{
Name: "template",
Path: "text/template",
Deps: map[string]string{
"errors": "errors",
"fmt": "fmt",
"internal/fmtsort": "fmtsort",
"io": "io",
"io/fs": "fs",
"net/url": "url",
"os": "os",
"path": "path",
"path/filepath": "filepath",
"reflect": "reflect",
"runtime": "runtime",
"strings": "strings",
"sync": "sync",
"text/template/parse": "parse",
"unicode": "unicode",
"unicode/utf8": "utf8",
},
Interfaces: map[string]reflect.Type{},
NamedTypes: map[string]reflect.Type{
"ExecError": reflect.TypeOf((*q.ExecError)(nil)).Elem(),
"FuncMap": reflect.TypeOf((*q.FuncMap)(nil)).Elem(),
"Template": reflect.TypeOf((*q.Template)(nil)).Elem(),
},
AliasTypes: map[string]reflect.Type{},
Vars: map[string]reflect.Value{},
Funcs: map[string]reflect.Value{
"HTMLEscape": reflect.ValueOf(q.HTMLEscape),
"HTMLEscapeString": reflect.ValueOf(q.HTMLEscapeString),
"HTMLEscaper": reflect.ValueOf(q.HTMLEscaper),
"IsTrue": reflect.ValueOf(q.IsTrue),
"JSEscape": reflect.ValueOf(q.JSEscape),
"JSEscapeString": reflect.ValueOf(q.JSEscapeString),
"JSEscaper": reflect.ValueOf(q.JSEscaper),
"Must": reflect.ValueOf(q.Must),
"New": reflect.ValueOf(q.New),
"ParseFS": reflect.ValueOf(q.ParseFS),
"ParseFiles": reflect.ValueOf(q.ParseFiles),
"ParseGlob": reflect.ValueOf(q.ParseGlob),
"URLQueryEscaper": reflect.ValueOf(q.URLQueryEscaper),
},
TypedConsts: map[string]igop.TypedConst{},
UntypedConsts: map[string]igop.UntypedConst{},
})
}