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

24 lines
529 B
Go

// Code generated by 'yaegi extract net/http/cgi'. DO NOT EDIT.
//go:build go1.21 && !go1.22
// +build go1.21,!go1.22
package stdlib
import (
"net/http/cgi"
"reflect"
)
func init() {
Symbols["net/http/cgi/cgi"] = map[string]reflect.Value{
// function, constant and variable definitions
"Request": reflect.ValueOf(cgi.Request),
"RequestFromMap": reflect.ValueOf(cgi.RequestFromMap),
"Serve": reflect.ValueOf(cgi.Serve),
// type definitions
"Handler": reflect.ValueOf((*cgi.Handler)(nil)),
}
}