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

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