mirror of
https://github.com/hanzoai/yaegi.git
synced 2026-10-01 00:49:47 +00:00
* 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]>
20 lines
361 B
Go
20 lines
361 B
Go
// Code generated by 'yaegi extract go/format'. DO NOT EDIT.
|
|
|
|
//go:build go1.22
|
|
// +build go1.22
|
|
|
|
package stdlib
|
|
|
|
import (
|
|
"go/format"
|
|
"reflect"
|
|
)
|
|
|
|
func init() {
|
|
Symbols["go/format/format"] = map[string]reflect.Value{
|
|
// function, constant and variable definitions
|
|
"Node": reflect.ValueOf(format.Node),
|
|
"Source": reflect.ValueOf(format.Source),
|
|
}
|
|
}
|