Files
moxa/stdlib/go1_22_path.go
Marc Vertes 0a5b16cad6 feat: support go1.22
* feat: support go1.22

* Temporary fix for consistency tests due to language change in for loops

* review: clean old files

---------

Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-03-05 17:56:04 +01:00

27 lines
700 B
Go

// Code generated by 'yaegi extract path'. DO NOT EDIT.
//go:build go1.22
// +build go1.22
package stdlib
import (
"path"
"reflect"
)
func init() {
Symbols["path/path"] = map[string]reflect.Value{
// function, constant and variable definitions
"Base": reflect.ValueOf(path.Base),
"Clean": reflect.ValueOf(path.Clean),
"Dir": reflect.ValueOf(path.Dir),
"ErrBadPattern": reflect.ValueOf(&path.ErrBadPattern).Elem(),
"Ext": reflect.ValueOf(path.Ext),
"IsAbs": reflect.ValueOf(path.IsAbs),
"Join": reflect.ValueOf(path.Join),
"Match": reflect.ValueOf(path.Match),
"Split": reflect.ValueOf(path.Split),
}
}