mirror of
https://github.com/golang/go
synced 2024-11-23 05:40:04 -07:00
effective_go: move 'Type switch' section into 'Control structures' section.
Needs to be an h3, not an h2. Thanks to Mingjie Xing for pointing it out. LGTM=dsymonds R=golang-codereviews, dsymonds CC=golang-codereviews https://golang.org/cl/55980046
This commit is contained in:
parent
be5d2d4432
commit
592415d682
@ -850,7 +850,7 @@ func Compare(a, b []byte) int {
|
|||||||
}
|
}
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<h2 id="type_switch">Type switch</h2>
|
<h3 id="type_switch">Type switch</h3>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
A switch can also be used to discover the dynamic type of an interface
|
A switch can also be used to discover the dynamic type of an interface
|
||||||
|
Loading…
Reference in New Issue
Block a user