Files
yaegi/stdlib/go1_22_net_rpc_jsonrpc.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

23 lines
579 B
Go

// Code generated by 'yaegi extract net/rpc/jsonrpc'. DO NOT EDIT.
//go:build go1.22
// +build go1.22
package stdlib
import (
"net/rpc/jsonrpc"
"reflect"
)
func init() {
Symbols["net/rpc/jsonrpc/jsonrpc"] = map[string]reflect.Value{
// function, constant and variable definitions
"Dial": reflect.ValueOf(jsonrpc.Dial),
"NewClient": reflect.ValueOf(jsonrpc.NewClient),
"NewClientCodec": reflect.ValueOf(jsonrpc.NewClientCodec),
"NewServerCodec": reflect.ValueOf(jsonrpc.NewServerCodec),
"ServeConn": reflect.ValueOf(jsonrpc.ServeConn),
}
}