zol*_*ola 4 parsing go url-encoding
假设我有以下字符串
honeypot=&name=Zelalem+Mekonen&email=zola%40programmer.net&message=Hello+And+this+is+a+test+message...
url.Values
data := url.Values{}
parameters := strings.Split(request.Body, "&")
for _, parameter := range parameters {
parts := strings.Split(parameter, "=")
data.Add(parts[0], parts[1])
}
url.Values+
感谢您的帮助... o