摘要: Golang没有泛型<>,但是可以通过interface{}来接收各种类型值。 如下运用切片和泛型实例: 阅读全文
posted @ 2018-08-05 18:54 sigmod 阅读(3281) 评论(0) 推荐(0) 编辑