correct spelling of "maintain"
This commit is contained in:
committed by
James Miranda
parent
63af019672
commit
1960e472b0
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user