Go switch: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Go Language =Overview= ===Tagless Switch===")
 
Line 3: Line 3:
=Overview=
=Overview=


===Tagless Switch===
Same as for <code>if</code>, <code>switch</code> accepts an [[Go_if#Overview|optional initialization statement]].
 
=Tagless Switch=

Revision as of 00:28, 6 July 2024

Internal

Overview

Same as for if, switch accepts an optional initialization statement.

Tagless Switch