Fix the type of request.Form in 04.1

This commit is contained in:
Attila Nagy
2020-09-23 15:09:47 +02:00
parent 5d43949b09
commit 255080df3a
6 changed files with 14 additions and 14 deletions

View File

@@ -86,7 +86,7 @@ Trata de cambiar la URL de ingreso de `http://127.0.0.1:9090/login` a `http://12
Figure 4.2 Server prints request data
El tipo de `request.Form` es `url.Value`. Y lo guarda en el formato `llave=valor`.
El tipo de `request.Form` es `url.Values`. Y lo guarda en el formato `llave=valor`.
```
v := url.Values{}
v.Set("name", "Ava")