github.com/traefik/yaegi@v0.15.1/stdlib/go1_20_net_url.go (about)

     1  // Code generated by 'yaegi extract net/url'. DO NOT EDIT.
     2  
     3  //go:build go1.20
     4  // +build go1.20
     5  
     6  package stdlib
     7  
     8  import (
     9  	"net/url"
    10  	"reflect"
    11  )
    12  
    13  func init() {
    14  	Symbols["net/url/url"] = map[string]reflect.Value{
    15  		// function, constant and variable definitions
    16  		"JoinPath":        reflect.ValueOf(url.JoinPath),
    17  		"Parse":           reflect.ValueOf(url.Parse),
    18  		"ParseQuery":      reflect.ValueOf(url.ParseQuery),
    19  		"ParseRequestURI": reflect.ValueOf(url.ParseRequestURI),
    20  		"PathEscape":      reflect.ValueOf(url.PathEscape),
    21  		"PathUnescape":    reflect.ValueOf(url.PathUnescape),
    22  		"QueryEscape":     reflect.ValueOf(url.QueryEscape),
    23  		"QueryUnescape":   reflect.ValueOf(url.QueryUnescape),
    24  		"User":            reflect.ValueOf(url.User),
    25  		"UserPassword":    reflect.ValueOf(url.UserPassword),
    26  
    27  		// type definitions
    28  		"Error":            reflect.ValueOf((*url.Error)(nil)),
    29  		"EscapeError":      reflect.ValueOf((*url.EscapeError)(nil)),
    30  		"InvalidHostError": reflect.ValueOf((*url.InvalidHostError)(nil)),
    31  		"URL":              reflect.ValueOf((*url.URL)(nil)),
    32  		"Userinfo":         reflect.ValueOf((*url.Userinfo)(nil)),
    33  		"Values":           reflect.ValueOf((*url.Values)(nil)),
    34  	}
    35  }