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

27 lines
823 B
Go

// Code generated by 'yaegi extract net/http/httptrace'. DO NOT EDIT.
//go:build go1.22
// +build go1.22
package stdlib
import (
"net/http/httptrace"
"reflect"
)
func init() {
Symbols["net/http/httptrace/httptrace"] = map[string]reflect.Value{
// function, constant and variable definitions
"ContextClientTrace": reflect.ValueOf(httptrace.ContextClientTrace),
"WithClientTrace": reflect.ValueOf(httptrace.WithClientTrace),
// type definitions
"ClientTrace": reflect.ValueOf((*httptrace.ClientTrace)(nil)),
"DNSDoneInfo": reflect.ValueOf((*httptrace.DNSDoneInfo)(nil)),
"DNSStartInfo": reflect.ValueOf((*httptrace.DNSStartInfo)(nil)),
"GotConnInfo": reflect.ValueOf((*httptrace.GotConnInfo)(nil)),
"WroteRequestInfo": reflect.ValueOf((*httptrace.WroteRequestInfo)(nil)),
}
}