You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In https://go.dev/tour/flowcontrol/10 we have an example of an if statement with semicolons in the condition. It would be nice to explain that this also works with switch.
Also, we could add an example with commas in a case to demonstrate another way to write cases.
Context: https://go.dev/tour/flowcontrol/10
In https://go.dev/tour/flowcontrol/10 we have an example of an if statement with semicolons in the condition. It would be nice to explain that this also works with switch.
Also, we could add an example with commas in a case to demonstrate another way to write cases.
We could replace the code in https://go.dev/tour/flowcontrol/10 with this:
The text was updated successfully, but these errors were encountered: