Skip to content

Commit 62ec308

Browse files
author
WDdxRW
authored
Update 04.2.md
1 parent 2573ebd commit 62ec308

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)