break,default,func,interface,select
case,defer,go,map,struct
chan,else,goto,package,switch
const,fallthrough,if,range,type
continue,for,import,return,var
append,bool,byte,cap,close,complex,complex64,complex128,unit16
copy,false,float32,float64,imag,int,int8,int16,uint32
int32,int64,iota,len,make,new,nil,panic,uint64
print,println,real,recover,string,true,uint,uint8,uintptr
- 布尔型
- 数字类型
- 字符串类型
- 派生类型
- 指针类型(Pointer)
- 数组类型
- 结构化类型(struct)
- Channel类型
- 函数类型
- 切片类型
- 接口类型(interface)
- Map类型
- 算术运算符
- 关系运算符
- 逻辑运算符
- 位运算符
- 赋值运算符
- 其他运算符
- 函数内定义的变量称为局部变量
- 函数外定义的变量称为全局变量
- 函数定义中的变量称为形式参数