1 Matching Annotations
- Dec 2022
-
127.0.0.1:3999 127.0.0.1:3999
-
type switches
type switch 是一种固定的格式吗?还是基于 switch 条件控制的?
A type switch is a construct ``` func do(i interface{}) { switch v := i.(type): case int:
case string:
default:
} ```
Tags
Annotators
URL
-