Files
yaegi/stdlib/go1_22_go_version.go
ee5ed52051 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 <[email protected]>
2024-03-05 17:56:04 +01:00

21 lines
417 B
Go

// Code generated by 'yaegi extract go/version'. DO NOT EDIT.
//go:build go1.22
// +build go1.22
package stdlib
import (
"go/version"
"reflect"
)
func init() {
Symbols["go/version/version"] = map[string]reflect.Value{
// function, constant and variable definitions
"Compare": reflect.ValueOf(version.Compare),
"IsValid": reflect.ValueOf(version.IsValid),
"Lang": reflect.ValueOf(version.Lang),
}
}