摘要: struct vs interface go语言的简化哲学: class = struct + receiver method set 注意: go 语言的struct,在参数传递中,是值拷贝。 struct 的代码示例 package main import ( "fmt" "math" ) ty 阅读全文
posted @ 2021-04-03 17:43 SNYang 阅读(164) 评论(0) 推荐(0) 编辑