字段
结构体
6
构造函数
9
方法
5
属性
2
继承
定义和初始化
字段
事件
常量
嵌套结构体
引用相等
复制对象
//There are no classes in golang
type
game
struct
{
// public field
Name
string
Year
int
}
语言
Python
C++
Java
C#
JavaScript
R
Rust
Delphi
PHP
Ruby
Kotlin
Lua
TypeScript
Objective-C