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]>
36 lines
1.2 KiB
Go
36 lines
1.2 KiB
Go
// Code generated by 'yaegi extract net/url'. DO NOT EDIT.
|
|
|
|
//go:build go1.22
|
|
// +build go1.22
|
|
|
|
package stdlib
|
|
|
|
import (
|
|
"net/url"
|
|
"reflect"
|
|
)
|
|
|
|
func init() {
|
|
Symbols["net/url/url"] = map[string]reflect.Value{
|
|
// function, constant and variable definitions
|
|
"JoinPath": reflect.ValueOf(url.JoinPath),
|
|
"Parse": reflect.ValueOf(url.Parse),
|
|
"ParseQuery": reflect.ValueOf(url.ParseQuery),
|
|
"ParseRequestURI": reflect.ValueOf(url.ParseRequestURI),
|
|
"PathEscape": reflect.ValueOf(url.PathEscape),
|
|
"PathUnescape": reflect.ValueOf(url.PathUnescape),
|
|
"QueryEscape": reflect.ValueOf(url.QueryEscape),
|
|
"QueryUnescape": reflect.ValueOf(url.QueryUnescape),
|
|
"User": reflect.ValueOf(url.User),
|
|
"UserPassword": reflect.ValueOf(url.UserPassword),
|
|
|
|
// type definitions
|
|
"Error": reflect.ValueOf((*url.Error)(nil)),
|
|
"EscapeError": reflect.ValueOf((*url.EscapeError)(nil)),
|
|
"InvalidHostError": reflect.ValueOf((*url.InvalidHostError)(nil)),
|
|
"URL": reflect.ValueOf((*url.URL)(nil)),
|
|
"Userinfo": reflect.ValueOf((*url.Userinfo)(nil)),
|
|
"Values": reflect.ValueOf((*url.Values)(nil)),
|
|
}
|
|
}
|