Skip to content

Commit 05546b4

Browse files
committed
update README.md, add example code diff
1 parent 087b630 commit 05546b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ Golang中缺少三元表达式,就导致某些情况三元表达式一行就
99

1010
```go
1111
if a % 2 == 0 {
12-
return "偶数"
12+
return "偶数"
1313
} else {
14-
return "奇数"
14+
return "奇数"
1515
}
1616
```
1717

0 commit comments

Comments
 (0)