go

函数类型中的空接口{}

英文: Empty interface{} in function type 问题 任何类型的对象都可以赋值给一个空接口。例如,我们有以下函数: func Println(i interface{})...