摘要:
Declare and access exported identifiers Pkg Declare and access exported identifiers Main Declare unexported identifiers and restrictions Pkg ( Declare 阅读全文
posted @ 2018-03-17 19:10
cucy_to
阅读(171)
评论(0)
推荐(0)
摘要:
Return multiple values go // Sample program to show how functions can return multiple values while using // named and struct types. package main impor 阅读全文
posted @ 2018-03-17 18:57
cucy_to
阅读(154)
评论(0)
推荐(0)
摘要:
method set go package main import "fmt" // Sample program to show how polymorphic behavior with interfaces. // 示例程序演示多态行为与接口的关系。 // reader is an inter 阅读全文
posted @ 2018-03-17 17:38
cucy_to
阅读(166)
评论(0)
推荐(0)
摘要:
Declaring Fields Embedding types Embedded types and interfaces Outer and inner type interface implementations 外部和内部类型接口实现。 练习 阅读全文
posted @ 2018-03-17 01:19
cucy_to
阅读(148)
评论(0)
推荐(0)
摘要:
Sharing data I Sharing data II Escape Analysis 溢出分析 练习 阅读全文
posted @ 2018-03-17 00:51
cucy_to
阅读(163)
评论(0)
推荐(0)

浙公网安备 33010602011771号