结构 / 构造函数
默认构造函数
不带任何参数
带参数
带默认参数值
调用父构造函数
调用自身构造函数
//There are no classes in golang
type
man
struct
{
Name
string
}
man
:=
man
{}
fmt.
Println
(
"man ="
,
man
)