func UrlEncoded(str string) (string, error) {
	u, err := url.Parse(str)
	if err != nil {
		return "", err
	}
	return u.String(), nil
}
// UrlEncoded encodes a string like Javascript's encodeURIComponent()
UrlEncoded encodes a string like Javascript's encodeURIComponent()
// UrlEncoded encodes a string like Javascript ' s encodeURIComponent ()
func UrlEncoded(str string) (string, error) {
	u, err := url.Parse(str)
	if err != nil {
		return "", err
	}
	return u.String(), nil
}
func UrlEncoded ( str string ) ( string , error ) { u , err := url . Parse ( str ) if err != nil { return " " , err } return u . String ( ) , nil }
UrlEncoded encodes a string like Javascript's encodeURIComponent()
UrlEncoded encodes a string like Javascript ' s encodeURIComponent ()