github.com/switchupcb/yaegi@v0.10.2/stdlib/go1_16_path.go (about) 1 // Code generated by 'yaegi extract path'. DO NOT EDIT. 2 3 // +build go1.16,!go1.17 4 5 package stdlib 6 7 import ( 8 "path" 9 "reflect" 10 ) 11 12 func init() { 13 Symbols["path/path"] = map[string]reflect.Value{ 14 // function, constant and variable definitions 15 "Base": reflect.ValueOf(path.Base), 16 "Clean": reflect.ValueOf(path.Clean), 17 "Dir": reflect.ValueOf(path.Dir), 18 "ErrBadPattern": reflect.ValueOf(&path.ErrBadPattern).Elem(), 19 "Ext": reflect.ValueOf(path.Ext), 20 "IsAbs": reflect.ValueOf(path.IsAbs), 21 "Join": reflect.ValueOf(path.Join), 22 "Match": reflect.ValueOf(path.Match), 23 "Split": reflect.ValueOf(path.Split), 24 } 25 }