correct spelling of "maintain"
This commit is contained in:
@@ -120,7 +120,7 @@ Because Go supports multi-value returns and gives compile errors when you don't
|
|||||||
|
|
||||||
### switch
|
### 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 {
|
switch sExpr {
|
||||||
case expr1:
|
case expr1:
|
||||||
|
|||||||
Reference in New Issue
Block a user