forked from cosmos72/gomacro
/
path_filepath.go
44 lines (41 loc) · 1.38 KB
/
path_filepath.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
// this file was generated by gomacro command: import _b "path/filepath"
// DO NOT EDIT! Any change will be lost when the file is re-generated
package imports
import (
. "reflect"
"path/filepath"
)
// reflection: allow interpreted code to import "path/filepath"
func init() {
Packages["path/filepath"] = Package{
Binds: map[string]Value{
"Abs": ValueOf(filepath.Abs),
"Base": ValueOf(filepath.Base),
"Clean": ValueOf(filepath.Clean),
"Dir": ValueOf(filepath.Dir),
"ErrBadPattern": ValueOf(&filepath.ErrBadPattern).Elem(),
"EvalSymlinks": ValueOf(filepath.EvalSymlinks),
"Ext": ValueOf(filepath.Ext),
"FromSlash": ValueOf(filepath.FromSlash),
"Glob": ValueOf(filepath.Glob),
"HasPrefix": ValueOf(filepath.HasPrefix),
"IsAbs": ValueOf(filepath.IsAbs),
"Join": ValueOf(filepath.Join),
"ListSeparator": ValueOf(filepath.ListSeparator),
"Match": ValueOf(filepath.Match),
"Rel": ValueOf(filepath.Rel),
"Separator": ValueOf(filepath.Separator),
"SkipDir": ValueOf(&filepath.SkipDir).Elem(),
"Split": ValueOf(filepath.Split),
"SplitList": ValueOf(filepath.SplitList),
"ToSlash": ValueOf(filepath.ToSlash),
"VolumeName": ValueOf(filepath.VolumeName),
"Walk": ValueOf(filepath.Walk),
}, Types: map[string]Type{
"WalkFunc": TypeOf((*filepath.WalkFunc)(nil)).Elem(),
}, Untypeds: map[string]string{
"ListSeparator": "rune:58",
"Separator": "rune:47",
},
}
}