Skip to content

Commit 69e6f80

Browse files
authored
Merge pull request #1167 from yrf105/patch-1
Update 04.2.md
2 parents aad7f95 + 62ec308 commit 69e6f80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

en/04.2.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ If we want to know whether the user is male or female, we may use a radio button
9696
```
9797
And we use the following code to validate the input:
9898
```Go
99-
slice:=[]int{1,2}
99+
slice:=[]string{"1","2"}
100100

101101
for _, v := range slice {
102102
if v == r.Form.Get("gender") {

0 commit comments

Comments
 (0)