github.com/goplus/igop@v0.25.0/pkg/net/url/go121_export.go (about)

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //go:build go1.21
     4  // +build go1.21
     5  
     6  package url
     7  
     8  import (
     9  	q "net/url"
    10  
    11  	"reflect"
    12  
    13  	"github.com/goplus/igop"
    14  )
    15  
    16  func init() {
    17  	igop.RegisterPackage(&igop.Package{
    18  		Name: "url",
    19  		Path: "net/url",
    20  		Deps: map[string]string{
    21  			"errors":  "errors",
    22  			"fmt":     "fmt",
    23  			"path":    "path",
    24  			"sort":    "sort",
    25  			"strconv": "strconv",
    26  			"strings": "strings",
    27  		},
    28  		Interfaces: map[string]reflect.Type{},
    29  		NamedTypes: map[string]reflect.Type{
    30  			"Error":            reflect.TypeOf((*q.Error)(nil)).Elem(),
    31  			"EscapeError":      reflect.TypeOf((*q.EscapeError)(nil)).Elem(),
    32  			"InvalidHostError": reflect.TypeOf((*q.InvalidHostError)(nil)).Elem(),
    33  			"URL":              reflect.TypeOf((*q.URL)(nil)).Elem(),
    34  			"Userinfo":         reflect.TypeOf((*q.Userinfo)(nil)).Elem(),
    35  			"Values":           reflect.TypeOf((*q.Values)(nil)).Elem(),
    36  		},
    37  		AliasTypes: map[string]reflect.Type{},
    38  		Vars:       map[string]reflect.Value{},
    39  		Funcs: map[string]reflect.Value{
    40  			"JoinPath":        reflect.ValueOf(q.JoinPath),
    41  			"Parse":           reflect.ValueOf(q.Parse),
    42  			"ParseQuery":      reflect.ValueOf(q.ParseQuery),
    43  			"ParseRequestURI": reflect.ValueOf(q.ParseRequestURI),
    44  			"PathEscape":      reflect.ValueOf(q.PathEscape),
    45  			"PathUnescape":    reflect.ValueOf(q.PathUnescape),
    46  			"QueryEscape":     reflect.ValueOf(q.QueryEscape),
    47  			"QueryUnescape":   reflect.ValueOf(q.QueryUnescape),
    48  			"User":            reflect.ValueOf(q.User),
    49  			"UserPassword":    reflect.ValueOf(q.UserPassword),
    50  		},
    51  		TypedConsts:   map[string]igop.TypedConst{},
    52  		UntypedConsts: map[string]igop.UntypedConst{},
    53  	})
    54  }