Skip to content

Commit aaf1c23

Browse files
authored
Merge pull request astaxie#929 from invzhi/master
Fix typo: banane -> banana
2 parents 66b5700 + a0a9d59 commit aaf1c23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zh/04.2.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,13 @@ if m, _ := regexp.MatchString(`^(1[3|4|5|8][0-9]\d{4,8})$`, r.Form.Get("mobile")
8888
<select name="fruit">
8989
<option value="apple">apple</option>
9090
<option value="pear">pear</option>
91-
<option value="banane">banane</option>
91+
<option value="banana">banana</option>
9292
</select>
9393
```
9494
那么我们可以这样来验证
9595
```Go
9696

97-
slice:=[]string{"apple","pear","banane"}
97+
slice:=[]string{"apple","pear","banana"}
9898

9999
v := r.Form.Get("fruit")
100100
for _, item := range slice {

0 commit comments

Comments
 (0)