摘要: 本篇翻译自《Practical Go Lessons》 Chapter 15: Pointer type 1 你将在本章将学到什么? 什么是指针? 什么时指针类型? 如何去创建并使用一个指针类型的变量。 指正类型变量的零值是什么? 什么是解除引用? slices, maps, 和 channels 阅读全文
posted @ 2021-11-28 23:52 Zioyi 阅读(700) 评论(0) 推荐(0) 编辑
摘要: 本篇翻译自《Practical Go Lessons》 Chapter 16: Interfaces 1 你将在本章学到什么? 什么是类型接口? 如何定义接口。 “实现一个接口”是什么意思? 接口的优点 2 涵盖的技术概念 接口 interface 具体实现 concrete implementat 阅读全文
posted @ 2021-11-28 17:39 Zioyi 阅读(373) 评论(0) 推荐(0) 编辑