Files
moxa/stdlib/go1_14_net_url.go
mpl e5a7b0de11 extract: new package to extract symbols from a dependency
cmd/goexports is now based on it.

Updates #639 

Co-authored-by: Marc Vertes <mvertes@free.fr>
2020-07-23 10:58:33 +02:00

34 lines
1.1 KiB
Go

// Code generated by 'github.com/containous/yaegi/extract net/url'. DO NOT EDIT.
// +build go1.14,!go1.15
package stdlib
import (
"net/url"
"reflect"
)
func init() {
Symbols["net/url"] = map[string]reflect.Value{
// function, constant and variable definitions
"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)),
}
}