摘要: 1.golang默认都是采用值传递,即拷贝传递 2.有些值天生就是指针,如slice、map、channel、function、pointer,即指针传递 阅读全文
posted @ 2020-12-06 17:51 Mr.peter 阅读(876) 评论(0) 推荐(0)