| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
package stdlib |
| 7 |
|
| 8 |
import ( |
| 9 |
"path" |
| 10 |
"reflect" |
| 11 |
) |
| 12 |
|
| 13 |
func init() { |
| 14 |
Symbols["path/path"] = map[string]reflect.Value{ |
| 15 |
|
| 16 |
"Base": reflect.ValueOf(path.Base), |
| 17 |
"Clean": reflect.ValueOf(path.Clean), |
| 18 |
"Dir": reflect.ValueOf(path.Dir), |
| 19 |
"ErrBadPattern": reflect.ValueOf(&path.ErrBadPattern).Elem(), |
| 20 |
"Ext": reflect.ValueOf(path.Ext), |
| 21 |
"IsAbs": reflect.ValueOf(path.IsAbs), |
| 22 |
"Join": reflect.ValueOf(path.Join), |
| 23 |
"Match": reflect.ValueOf(path.Match), |
| 24 |
"Split": reflect.ValueOf(path.Split), |
| 25 |
} |
| 26 |
} |