Merge pull request #472 from RyanGladstone/patch-2

correct spelling of "maintain"
This commit is contained in:
astaxie
2015-05-12 10:00:38 +08:00

View File

@@ -120,7 +120,7 @@ Because Go supports multi-value returns and gives compile errors when you don't
### switch
Sometimes you may find that you are using too many `if-else` statements to implement some logic, which may make it difficult to read and maitain in the future. This is the perfect time to use the `switch` statement to solve this problem.
Sometimes you may find that you are using too many `if-else` statements to implement some logic, which may make it difficult to read and maintain in the future. This is the perfect time to use the `switch` statement to solve this problem.
switch sExpr {
case expr1: